Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Posts
    136
    Plugin Contributions
    0

    Default The Define Pages Editor (HTMLarea) is that using TinyMce?

    The Define Pages Editor (HTMLarea) is that using TinyMce?

    I'm working on a mod, and would like to use TinyMce or something like it, but if there is something like this bundled in with zen there is no reason I would need to include it in with my mod.

    If there is something bundled in with zen what is the id tag or script would I need to use it with my textarea field?

    Thanks for the help guys

  2. #2
    Join Date
    May 2007
    Posts
    136
    Plugin Contributions
    0

    Default Re: The Define Pages Editor (HTMLarea) is that using TinyMce?

    I think I may have found it…

    Code:
    <script type="text/javascript">
      <!--
      function init()
      {
        cssjsmenu('navbar');
        if (document.getElementById)
        {
          var kill = document.getElementById('hoverJS');
          kill.disabled = true;
        }
      if (typeof _editor_url == "string") HTMLArea.replaceAll();
      }
      // -->
    </script>
    <script type="text/javascript">
       _editor_url = "/sexyjlingerie/editors/htmlarea/";
     _editor_lang = "en";
    </script>
    <script type="text/javascript" src="/sexyjlingerie/editors/htmlarea/htmlarea.js"></script>
    <script type="text/javascript">
          HTMLArea.loadPlugin("TableOperations");
          HTMLArea.loadPlugin("SpellChecker");
    </script>
    It looks like the textarea's id would be: id="file_contents" can any one confirm this for me?

    Thanks guys

  3. #3
    Join Date
    May 2007
    Posts
    136
    Plugin Contributions
    0

    Default Re: The Define Pages Editor (HTMLarea) is that using TinyMce?

    Never mind guys I just tested it for my self and found all that you need to do is make a textarea field and add the id of file_contents to it, because the script code is already in the head by default by zen, Thanks ZenCart...


 

 

Similar Threads

  1. v139h TinyMCE, Can't browse for image in Define Pages editor
    By PGlad in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 May 2012, 05:21 PM
  2. Define Pages Editor-No HTMLarea
    By J. Belangia in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Mar 2011, 04:33 PM
  3. I lost my HTMLarea editor in Define pages edit
    By jojovale in forum General Questions
    Replies: 0
    Last Post: 21 May 2008, 04:56 AM
  4. 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