control links in WYSIWYG editor

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 18, 2013   (RSS)

When I made local links in the WYSIWYG editor, it adds a '/' before the link address. I do not want this added since my site is in a folder and the '/' takes you back to the root?

I already set the global settings to be that folder, but it is still adding the slash.

Any ideas?

By Steve99 - October 17, 2013

Hi,

I've been through this before. In the cmsAdmin folder, to to lib > wysiwyg.php. Open that file and save it as wysiwyg_custom.php. The system will recognize that you have a custom wysiwyg file when upgrades are performed.

If you go towards the bottom of the PHP doc, you will see the tinymce options:

    relative_urls : false,
    document_base_url: "/",

You can change these to suit your needs.

Hope this helps.

Cheers,
Steve