tinyMCE adding http://mce_host/ to href when href is a module tag!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
genepilot
Forum Members
Forum Members
Posts: 18
Joined: Wed Feb 27, 2008 4:42 pm

tinyMCE adding http://mce_host/ to href when href is a module tag!

Post by genepilot »

I am using a CMS Module to generate the url in some of my links.

But, when tinyMCE encounters
href="{cms_module modeul='myModule' action='myAction'}" it adds 'http://mce_host/' to the front of the href!

The end result is that whenever anything is edited on that page, the saved link ends up with:
href="http://mce_host/{cms_module modeul='myModule' action='myAction'}"    Shocked

Needless to say, it is annoying and damaging!

Anybody else see this issue?  Anybody fix it?

This is TinyMCE version 2.4.13.

Edit: Removed other posting.
Last edited by genepilot on Mon Jun 15, 2009 7:56 pm, edited 1 time in total.
JeremyBASS

Re: tinyMCE adding http://mce_host/ to href when href is a module tag!

Post by JeremyBASS »

The reason for this is that IIRC is you need to switch the link mod from to {cmslinker} in the admin settings of tinyMCE ... I have not had this issue before but I think I saw this and IIRC that was the fix... Hope this helps..

Cheers
jeremyBass
genepilot
Forum Members
Forum Members
Posts: 18
Joined: Wed Feb 27, 2008 4:42 pm

Re: tinyMCE adding http://mce_host/ to href when href is a module tag!

Post by genepilot »

JeremyBASS wrote: The reason for this is that IIRC is you need to switch the link mod from to {cmslinker} in the admin settings of tinyMCE ... I have not had this issue before but I think I saw this and IIRC that was the fix... Hope this helps..

Cheers
jeremyBass
If I am understanding you correctly, you're saying to go into the Extensions->'TinyMCE WYSIWYG' section of admin, clicking on the 'Advanced' tab then changing 'CMS-linker link-style:' from '-style' to '{cms_selflink}-style'.

I tried that out, but I still get the same error when I go to edit the page and switch to 'Turn WYSIWYG on/off'.
JeremyBASS

Re: tinyMCE adding http://mce_host/ to href when href is a module tag!

Post by JeremyBASS »

Hmm... try Generate relative urls: to on... I don't have time to test but I'd think the may stop it....
Post Reply

Return to “Modules/Add-Ons”