Page 1 of 1
[SOLVED] CMS 1.6 - HTML tags inside {cms_selflink} tags
Posted: Tue Jun 23, 2009 6:08 pm
by stevew
Hi,
Since updating to 1.6 HTML tags in links, e.g.
Code: Select all
{cms_selflink page="review_page" text="Review of <em>Les Misérables</em>"}
no longer work. Instead the tags are printed out on screen. I'm not using a WYSIWYG in the admin end.
Any idea what may be causing this?
TIA
Re: CMS 1.6 - HTML tags inside {cms_selflink} tags
Posted: Fri Jun 26, 2009 10:30 am
by blast2007
Same here, all html codes are escaped so they're printed on the page.
This is it a big trouble?!?!
P.S. as workaround I've rolled back to 1.5.4 file /plugins/function.cms_selflink.php and all works again. Waiting for a patch
Here solution:
http://forum.cmsmadesimple.org/index.php/topic,31913.0.html
Re: CMS 1.6 - HTML tags inside {cms_selflink} tags
Posted: Fri Jun 26, 2009 6:30 pm
by stevew
If by solution you mean use the style instead of {cms_selflink}, I don't really see that as a solution. It worked before, so why not now? And what if I have a site with a large number of {cms_selflink}-style links? Do I now have to change them all?
In any case, I understood there were certain advantages to the {cms_selflink} style, mainly that in certain circumstances links would be preserved despite moving or renaming pages (not too sure about that, but did read it somewhere once).
Re: CMS 1.6 - HTML tags inside {cms_selflink} tags
Posted: Wed Jul 01, 2009 9:02 am
by blast2007
Follow similar thread
here
Re: CMS 1.6 - HTML tags inside {cms_selflink} tags
Posted: Wed Jul 01, 2009 3:35 pm
by stevew
blast2007, thanks for your last post in that thread you mention. That "clears it up" in the sense of explaining why it doesn't work any more. I'll label this SOLVED.
Re: [SOLVED] CMS 1.6 - HTML tags inside {cms_selflink} tags
Posted: Wed Jul 01, 2009 5:04 pm
by blast2007
If you want to use function.cms_selflink.php of 1.6 just comment out that lines 345,361,439 and it will works again
regards
blast