[solved][Bug?] Gallery custom field with self_link[/solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
vinyl
Forum Members
Forum Members
Posts: 149
Joined: Mon Jul 13, 2009 8:18 pm

[solved][Bug?] Gallery custom field with self_link[/solved]

Post by vinyl »

I made a Gallery with a custom content field which can be filled with WYSIWYG.

When you select some text and choose a self link to a page on the site it does not get parsed properly when looking at the page.

The URL looks like this:

Code: Select all

http://www.domain.nl/{cms_selflink%20href='activiteiten'%20}
While the code looks ok:

Code: Select all

<a href="{cms_selflink href='activiteiten' }">activiteiten</a> 
Any ideas why this is not parsed or is it a bug?
Last edited by vinyl on Fri Jul 15, 2011 12:40 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: [Bug?] Gallery custom field with self_link

Post by Jos »

This is not a bug. It is just the way you insert the smarty variable in the gallery template. You can use the eval function to get the content of the variable parsed by smarty.

Code: Select all

{eval var=$yourfield}
Post Reply

Return to “CMSMS Core”