View Single Post
  #16  
Old 08-06-2010, 10:44 AM
 
larenespitler larenespitler is offline
 

Member
  
Join Date: Aug 2010
Posts: 17
 

Default Re: CKEditor with image upload please?

I found another file that should be changed. {skin}/admin/main/languages.tpl

Before the code {/foreach} on line 231, insert:

Code:
{if $active_modules.FCKEditor ne ""} <script type="text/javascript"> var oFCKeditor = new FCKeditor('var_value[{$lbl.name}]'); oFCKeditor.BasePath = "../fckeditor/"; oFCKeditor.Height="400"; oFCKeditor.ToolbarSet="Default"; oFCKeditor.ReplaceTextarea(); </script> {/if}

This will add WYSIWYG to the edit languages module. This is needed if you want to edit the X-cart home page.

Larene
__________________
x-cart 4.4.5
Reply With Quote