[#1996] CR in TextArea Fields in Sticky Overlay issue?
- scharles
- OFFLINE
- Posts: 55
- Thanks: 0
- Karma: 0
13 years 8 months ago #142559
by scharles
[#1996] CR in TextArea Fields in Sticky Overlay issue? was created by scharles
I have several textarea fields that I have placed in various tabs within my form. I have the tabs set to display as "Button with Sticky overlay".
When a user enters text in the textarea field, everything works correctly, unless they enter a carriage return. Once a carriage return is inserted into the text area, it generates a javascript error in the page and clicking on the Sticky button does not display the information in that section.
Is this a bug? I searched but could not find anything on it.
Post edited by: krileon, at: 2010/09/21 17:49
When a user enters text in the textarea field, everything works correctly, unless they enter a carriage return. Once a carriage return is inserted into the text area, it generates a javascript error in the page and clicking on the Sticky button does not display the information in that section.
Is this a bug? I searched but could not find anything on it.
Post edited by: krileon, at: 2010/09/21 17:49
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68606
- Thanks: 9108
- Karma: 1434
13 years 7 months ago #142560
by krileon
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Replied by krileon on topic Re:CR in TextArea Fields in Sticky Overlay issue?
Was able to confirm your issue and have created a bug ticket for it to be further addressed. Sorry for the inconvenience.
#1996
#1996
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Please Log in or Create an account to join the conversation.
- scharles
- OFFLINE
- Posts: 55
- Thanks: 0
- Karma: 0
13 years 7 months ago #142562
by scharles
Replied by scharles on topic Re:CR in TextArea Fields in Sticky Overlay issue?
Glad to help.
Where does that leave me in the mean time? I have many textarea fields in my profile page.
Is there a suggested fix that I can put in the javascript for the short term? Please? I'm getting desperate here to get this project completed, but I keep hitting bugs.
Where does that leave me in the mean time? I have many textarea fields in my profile page.
Is there a suggested fix that I can put in the javascript for the short term? Please? I'm getting desperate here to get this project completed, but I keep hitting bugs.
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68606
- Thanks: 9108
- Karma: 1434
13 years 7 months ago #142565
by krileon
forge.joomlapolis.com/issues/1996
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Replied by krileon on topic Re:CR in TextArea Fields in Sticky Overlay issue?
Change tab display or review CB core code for a potential fix (CB is open source).Where does that leave me in the mean time? I have many textarea fields in my profile page.
No, I just confirmed the bug about 2 minutes ago.. can't possibly expect a fix proposal in that time frame. Below is the bug ticket of the issue, watch it for a patch or any updates.Is there a suggested fix that I can put in the javascript for the short term? Please? I'm getting desperate here to get this project completed, but I keep hitting bugs.
forge.joomlapolis.com/issues/1996
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Please Log in or Create an account to join the conversation.
- scharles
- OFFLINE
- Posts: 55
- Thanks: 0
- Karma: 0
13 years 7 months ago #142586
by scharles
Replied by scharles on topic Re:CR in TextArea Fields in Sticky Overlay issue?
Can you please tell me where this code is being generated. It would save me some time in hunting it down, and I may be able to help find the bug. I just need to know where the code is that is generating the big batch of javascript for the stickys.
Thanks,
Steve
Thanks,
Steve
Please Log in or Create an account to join the conversation.
- scharles
- OFFLINE
- Posts: 55
- Thanks: 0
- Karma: 0
13 years 7 months ago #142741
by scharles
Replied by scharles on topic Re:CR in TextArea Fields in Sticky Overlay issue?
I have fixed this problem in my code base. I will attempt to post the correction in the bug ticket as wel.
The problem is in the /\components/\com_comprofiler/\plugin/\user/\plug_cbcore/\cb.core.php file.
Line 101 reads:
[code:1]return str_replace( "\n", '<br />', parent::getField( $field, $user, $output, $reason, $list_compare_types ) );[/code:1]
It should read:
[code:1]return str_replace( '\n', '<br />', parent::getField( $field, $user, $output, $reason, $list_compare_types ) );[/code:1]
The quotes around the \n should be single quotes not double quotes.
Steve
Post edited by: scharles, at: 2010/09/24 20:40
Post edited by: scharles, at: 2010/09/24 20:41
Post edited by: scharles, at: 2010/09/24 20:42
The problem is in the /\components/\com_comprofiler/\plugin/\user/\plug_cbcore/\cb.core.php file.
Line 101 reads:
[code:1]return str_replace( "\n", '<br />', parent::getField( $field, $user, $output, $reason, $list_compare_types ) );[/code:1]
It should read:
[code:1]return str_replace( '\n', '<br />', parent::getField( $field, $user, $output, $reason, $list_compare_types ) );[/code:1]
The quotes around the \n should be single quotes not double quotes.
Steve
Post edited by: scharles, at: 2010/09/24 20:40
Post edited by: scharles, at: 2010/09/24 20:41
Post edited by: scharles, at: 2010/09/24 20:42
Please Log in or Create an account to join the conversation.
Moderators: beat, nant, krileon