We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32963
    • 1,732 Posts
    Hi Jason,

    I’ve being playing around with a some setting and made a few changes to the system configuration screens in my branch. One of the change is that I’m saying the editor’s name rather than a number:

    $which_editor is stored as TinyMCE or FCKEditor or whatever was specified byb the plugins. This IMO is must easier that having to remember which number to use.

    orig.

    if($which_editor==1)....
    else if($wich_editor==2).....

    now:

    if($which_editor=="TinyMCE")....
    else if($wich_editor=="FCKEditor").....


    The other change has to do with the collapsible image manager and editor settings. I’ve separated the Image Manager settings from the Editor because IM can be used separated and apart from the editors. The other change was collapsing sections based on selected editor. At first this seemed ok but then I remembered that TVs aren’t bound to the $wich_editor setting. A TV can and should be able to use any editor it so chooses. Thus my reason for allowing the user to modify all editor settings at once, be it FCK, Tiny or others


      xWisdom
      www.xwisdomhtml.com
      The fear of the Lord is the beginning of wisdom:
      MODx Co-Founder - Create and do more with less.