Page 1 of 1

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

Posted: Mon Jun 15, 2009 7:28 pm
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.

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

Posted: Mon Jun 15, 2009 8:09 pm
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

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

Posted: Mon Jun 15, 2009 8:19 pm
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'.

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

Posted: Mon Jun 15, 2009 8:43 pm
by JeremyBASS
Hmm... try Generate relative urls: to on... I don't have time to test but I'd think the may stop it....