We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29354
    • 39 Posts
    Hi,
    When inserting images with the image browser of FCKEditor, the path inserted is absolute (ex: http://mydomain/assets/images/image.jpg) . Is there a simple tweak to make it relative (assets/images/image.jpg) ?

    Tristan

      • 4018
      • 1,131 Posts
      Funny you should mention this...been thinking about this myself. I’ve dealt with this already with TinyMCE and plan on updating all the RTE plugins to allow for switching back and forth between relative and full paths. Pretty easy to do with TinyMCE...err...not so sure with FCK but I’m sure it’s just a matter of tweaking the config file. I’ll work on this and see if I can’t get a global setting in MODx to control this then update the plugins respectively. Hmm...funny...I thought there used to be a setting for this already in the manager?
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
        • 19726
        • 239 Posts
        Check out this thread: http://modxcms.com/forums/index.php/topic,2470.0.html
        It describes how to use relative paths instead of absolute ones.
          • 29354
          • 39 Posts
          Thanks !!! That was so simple that I felt stupid undecided
          I really love this cms ... My site is being built very fast ... grin

          Tristan