Enable JFactory / EDITOR in Short Description

13.05.2013 17:45
Joomshopping forum user no avatar
Name: Jo
Posts: 3
Enable JFactory / EDITOR in Short Description

Hello, the backend product page contains a short description which is just a textarea box unlike the Description field.

I accessed the description.php file located in :

administrator/com_jshopping/views/product_edit/tmpl/ where I created this entry:

<td class="key">
$editor = JFactory::getEditor();
print $editor->display('short_description'.$lang->id, $row->$short_description , '100%', '350', '75', '20' ) ;


The problem I have is that everytime I save the page, all text disappears.

Do you have any ideas and steps on how to enable such feature? Basically I need that so to add shortcodes for mediaplayers.


Copyrights MAXXmarketing GmbH. All Rights Reserved