Page 1 of 1

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

Posted: Fri Jul 15, 2011 11:59 am
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?

Re: [Bug?] Gallery custom field with self_link

Posted: Fri Jul 15, 2011 12:11 pm
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}