If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / HTML editor for Zen 1.5.1

HTML editor for Zen 1.5.1

Started by kevin205 on 17 May 2013, 10:06 PM · Views: 1,086

Results 1 to 6 of 6
17 May 2013, 10:06 PM
#1
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Post #1 by kevin205

Would someone recommend a HTML editor compatible with Zen 1.5.1. Thank you.

Using Zen Cart 1.5.1

17 May 2013, 10:08 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 May 2013, 10:11 PM
#3
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Post #3 by kevin205

Thank you.

Using Zen Cart 1.5.1

17 May 2013, 10:40 PM
#4
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Post #4 by kevin205

I placed the mod and everything works fine.

But when I changed the folder name from **editors **to MyEditors at root, I get the warning on the admin page that

You have an HTML editor selected in 'My Store' but the '/editors/' folder cannot be located. Please disable your selection or move your editor files into the '/Store/editors/' folder

I did place the

  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
define('DIR_WS_EDITORS', 'MyEditors/'); 

  // * DIR_FS_* = Filesystem directories (local/physical)
``` in the **My_admin/includes/configure.php**

Is there anywhere else that needs to get updated. 

ps.  I did log-off and back on again.

Using Zen Cart 1.5.1

18 May 2013, 12:54 AM
#5
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Post #5 by kevin205

So what I did to fix the problem is as follow:

  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
define('DIR_WS_EDITORS', 'editors/MyEditors/'); 

  // * DIR_FS_* = Filesystem directories (local/physical)  

and placed the ckeditor folder as follow:

editors/MyEditors/ckeditor

Hoping this eliminates the concern indicated in the read me of CKEditor plugin!

  1. (Optional) You can change the folder in which the editor files live, by renaming the folder and adding the following line to your admin/includes/configure.php file:
    define('DIR_WS_EDITORS', 'the new name of your folder/');
    If you are using an external add-in for uploading images or other content, then step 5 moves from optional to recommended.

Using Zen Cart 1.5.1

18 May 2013, 12:59 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

Remember, the reason it says "(Optional)" is because it's exactly that: optional. Not necessary.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.