You cannot change the editor by editing that file.
What version of Zen Cart do you have?
What versions has it been upgraded from?
What addons/contributions have you installed?
You cannot change the editor by editing that file.
What version of Zen Cart do you have?
What versions has it been upgraded from?
What addons/contributions have you installed?
.
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.
Thank you for your reply DrByte
I am using version 1.3.6
I have added the Image handler2
What is happening is that when I am in Admin I cant swap the editor over from text to HTML as a default. When I select it the edit options are not showing up and I get that error message.
'E-Start your web store' book - I Got it and now ..... I GET IT !....Well alot more of it anyway (-:
It sounds like your upgrade to v1.3.6 didn't happen properly. You either missed some database updates, or missed updating some PHP files. This "symptom" may be an indication of one of several problems.
Nevertheless, try this:
1. Run this SQL query either in phpmyadmin or the sql patch tool:
2. Edit admin/includes/functions/general.phpCode:UPDATE configuration SET set_function='zen_cfg_pull_down_htmleditors(' WHERE configuration_key='HTML_EDITOR_PREFERENCE';
around line 964 you should have:Make sure that function definition exists in that file.Code:function zen_cfg_pull_down_htmleditors($html_editor, $key = '') { global $editors_list; $name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value'); $editors_pulldown = array(); foreach($editors_list as $key=>$value) { $editors_pulldown[] = array('id' => $key, 'text' => $value['desc']); } return zen_draw_pull_down_menu($name, $editors_pulldown, $html_editor); }
If you've installed addons/contributions that alter this file you'll need to manually review all the changes those contributions have made.
.
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.