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.
tinyMCE adding http://mce_host/ to href when href is a module tag!
tinyMCE adding http://mce_host/ to href when href is a module tag!
Last edited by genepilot on Mon Jun 15, 2009 7:56 pm, edited 1 time in total.
Re: tinyMCE adding http://mce_host/ to href when href is a module tag!
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
Cheers
jeremyBass
Re: tinyMCE adding http://mce_host/ to href when href is a module tag!
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'.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
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!
Hmm... try Generate relative urls: to on... I don't have time to test but I'd think the may stop it....