Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default 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

    Code:
    <?php
          // toggle switch for editor
          echo TEXT_EDITOR_INFO . zen_draw_form('set_editor_form', FILENAME_CATEGORIES, '', 'get') . '&nbsp;&nbsp;' . 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>';
    ?>

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Admin catalog editor default set to HTMLarea always

    Try this in the admin > config > mystore > HTML Editor > set to HTMLAREA.

    Logout and back in due to the sessions control and this will be the default
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Admin catalog editor default set to HTMLarea always

    When I logged back in it worked. Thanks!
    I am sometimes surprised that the admin has an answer for all these things and the answers to my questions are just 2 clicks away

    Thanks again

 

 

Similar Threads

  1. editor htmlarea
    By jamesboing in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2009, 10:10 PM
  2. Editor doesn't default to HTMLarea
    By high2K in forum General Questions
    Replies: 0
    Last Post: 27 May 2008, 10:24 AM
  3. Can I set the define pages editor to HTMLarea by defualt?
    By CheekyCockney in forum Basic Configuration
    Replies: 2
    Last Post: 7 Jun 2006, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg