The forum is in read only mode.
ISSUE SUMMARY: The style attributes does not seem to reflecting on the front end. Am I doing this right (See image)? STEPS TO REPLICATE: 1 2 3 4 5 RESULT EXPECTED RESULT BROWSER
Hi Dexter, Thank you for reporting, I marked this as a bug. cheers~
Hi Dexter, For fixing this open this file components/com_community/libraries/fields/textarea.php, add this code after line 30 :
$style = $this->getStyle() ? ' style="' .$this->getStyle() . '"' : '';
$html .= '<textarea id="field' . $field->id . '" name="field' . $field->id . '" class="joms-textarea joms-textarea--limit" data-min-char="' . $min_char . '" data-max-char="' . $max_char . '" ' . $readonly . $required . ' >' . $field->value . '</textarea>';
$html = '<textarea id="field' . $field->id . '" name="field' . $field->id . '" class="joms-textarea" ' . $readonly . $required . $style . ' >' . $field->value . '</textarea>';
Line 31 is this: class CFieldsTextarea extends CProfileField { Just to be clear I add the code above that?
It did not work. I just got a blank page profile edit page. Maybe I'm just doing it incorrectly.
Hi Dexter, I already applied the code via extplorer by myself, please check. thank you!
Is it possible just to send me the file?
Here is the file www.dropbox.com/s/azzwpmwp9cum746/textarea.php?dl=0 and copy to components/com_community/libraries/fields/
Thanks. That fixed it.
JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a full -fledged, social networking site
TRY NOW BUY NOW