Totally Zenned
- Join Date:
- Feb 2007
- Posts:
- 518
- Plugin Contributions:
- 1
Admin catalog editor default set to HTMLarea always
Most of the people I make zen carts for do not add html to their catalog products, they just write a big slab of text with out paragraphs, this is because they miss the option to change the default editor before they go to add a new product.
In the categories.php this is the code that specifies the editor, I am unsure what to change in it to make the HTMLarea the default editor when they login
<?php
// toggle switch for editor
echo TEXT_EDITOR_INFO . zen_draw_form('set_editor_form', FILENAME_CATEGORIES, '', 'get') . ' ' . zen_draw_pull_down_menu('reset_editor', $editors_pulldown, $current_editor_key, 'onChange="this.form.submit();"') . zen_hide_session_id() .
zen_draw_hidden_field('cID', $cPath) .
zen_draw_hidden_field('cPath', $cPath) .
zen_draw_hidden_field('pID', $_GET['pID']) .
zen_draw_hidden_field('page', $_GET['page']) .
zen_draw_hidden_field('action', 'set_editor') .
'</form>';
?>