- Posts: 106
- Thank you received: 10
Use Ckeditor3 on marvikshop
- Support Team
- Topic Author
- Offline
- Moderator
Less
More
13 years 11 months ago - 13 years 11 months ago #122
by Support Team
Use Ckeditor3 on marvikshop was created by Support Team
_______
Step 1
Go to ckeditor.com and download the latest Editor Release (CK Editor, which has superseded FCK Editor)...
_______
Step 2.
Unzip it all, then upload the fckeditor folder and all it's contents to your admin directory.
_______
Step 3.
Oopen admin/categories.php and other files with editor use
__________
FIND THIS:
<script language="javascript" src="<?php echo DIR_WS_COMPONENT ?>includes/general.js"></script>
_____________
ADD AFTER IT:
<script type="text/javascript" src="<?php echo DIR_WS_COMPONENT ?>ckeditor/ckeditor.js"></script>
__________
THEN FIND THIS:
tep_draw_textarea_field('products_description . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]]) ? stripslashes($products_description[$languages[$i]]) : tep_get_products_description($pInfo->products_id, $languages[$i])));
___________
CHANGE FOR
tep_draw_textarea_field('products_description . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]]) ? stripslashes($products_description[$languages[$i]]) : tep_get_products_description($pInfo->products_id, $languages[$i])),' class="ckeditor"');
_______
enjoy :laugh:
Step 1
Go to ckeditor.com and download the latest Editor Release (CK Editor, which has superseded FCK Editor)...
_______
Step 2.
Unzip it all, then upload the fckeditor folder and all it's contents to your admin directory.
_______
Step 3.
Oopen admin/categories.php and other files with editor use
__________
FIND THIS:
<script language="javascript" src="<?php echo DIR_WS_COMPONENT ?>includes/general.js"></script>
_____________
ADD AFTER IT:
<script type="text/javascript" src="<?php echo DIR_WS_COMPONENT ?>ckeditor/ckeditor.js"></script>
__________
THEN FIND THIS:
tep_draw_textarea_field('products_description . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]]) ? stripslashes($products_description[$languages[$i]]) : tep_get_products_description($pInfo->products_id, $languages[$i])));
___________
CHANGE FOR
tep_draw_textarea_field('products_description . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]]) ? stripslashes($products_description[$languages[$i]]) : tep_get_products_description($pInfo->products_id, $languages[$i])),' class="ckeditor"');
_______
enjoy :laugh:
Last edit: 13 years 11 months ago by Support Team.
Please Log in or Create an account to join the conversation.