Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2010
    Posts
    320
    Plugin Contributions
    0

    Default Creating Manufacturers Description V1.50 how to load HTML Editor

    Hi,
    i have created Manufacturers Description for V1.50 and just need to find out how to properly load the html editor,

    at the minute i am just loading it using the following code in admin/manufacturers.php

    PHP Code:
    include('includes/ckeditor.php'); 
    this works but is not the proper way to load it as if i turn off html editor it still loads or if a different editor was used it wont be right

    i am editing /admin/manufacturers.php to insert the code for my manufacturers description

    Name:  manufacturer-description.jpg
Views: 104
Size:  20.3 KB

    any help appreciated

    thanks
    Bryan

  2. #2
    Join Date
    Jan 2004
    Posts
    65,247
    Blog Entries
    7
    Plugin Contributions
    224

    Default Re: Creating Manufacturers Description V1.50 how to load HTML Editor

    You can see examples of the editor code implementation in the many other files that use it, such as mail.php and define_pages_editor.php and ezpages.php and collect_info.php and many more.
    .

    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.

  3. #3
    Join Date
    Apr 2010
    Posts
    320
    Plugin Contributions
    0

    Default Re: Creating Manufacturers Description V1.50 how to load HTML Editor

    i do see some stuff but dont understand it

    any other clues

    thanks
    Bryan

  4. #4
    Join Date
    Jan 2004
    Posts
    65,247
    Blog Entries
    7
    Plugin Contributions
    224

    Default Re: Creating Manufacturers Description V1.50 how to load HTML Editor

    There are two parts to it: displaying the pulldown menu for selecting editors, and then the actual textarea fields.

    Displaying the pulldown is simple. If I recall correctly it's just a handful of lines of code to display that. Copy and paste.

    As for the textarea fields, what you're attempting to do is very different from any other implementation of the editor, since yours is all in a sidebox and not in the main page content section ... so there might be some hurdles there. Haven't tried it myself.
    .

    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.

  5. #5
    Join Date
    Apr 2010
    Posts
    320
    Plugin Contributions
    0

    Default Re: Creating Manufacturers Description V1.50 how to load HTML Editor

    thanks

    so there would be a separate drop down on the actual page rather than if someone has html editor selected under configuration - my store - html editor it defaults to this choice

    i have the text field part all working ok as long as i use
    PHP Code:
    include('includes/ckeditor.php'); 

    thanks
    Bryan
    Last edited by bn17311; 10 Jan 2013 at 11:41 PM.

  6. #6
    Join Date
    Jan 2004
    Posts
    65,247
    Blog Entries
    7
    Plugin Contributions
    224

    Default Re: Creating Manufacturers Description V1.50 how to load HTML Editor

    The pulldown on the page will allow them to change the editor used on that page, instead of forcing them to only use the one selected in the configuration menu.
    .

    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.

 

 

Similar Threads

  1. v155 Problem with CK Editor and manufacturers description
    By Nick1973 in forum General Questions
    Replies: 3
    Last Post: 14 Aug 2016, 07:42 PM
  2. No HTML Editor for Categories Description
    By Guy Johnson in forum General Questions
    Replies: 4
    Last Post: 14 Jul 2013, 02:48 AM
  3. No HTML Editor for Categories Description?
    By Alex Clarke in forum General Questions
    Replies: 2
    Last Post: 31 May 2007, 02:53 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR