Page 1 of 1

internal link in Static tex field formbuilder

Posted: Wed Apr 27, 2011 1:19 pm
by peterbus
I use a form in formbuilder. Part of it is a static text field.
In the text I want to use a Internal link to a cms page.

It turns out ok in the front but when the link is clicked: not found.

The url that is shown looks like:

http://www.xxxxxxxxx.nl/%7Bcms_selflink ... ads'%20%7D

When using an external link and placing the url of the cms page everything goes fine.

Someone familiar with this problem?

Re: internal link in Static tex field formbuilder

Posted: Fri Apr 29, 2011 11:10 am
by spcherub
It looks like FormBuilder is not parsing the smarty tag {cms_selflink} so what you are getting is the literal tag itself instead of the output from the tag.

There might be a way to be able to use smarty tag in a form that more knowledgeable folks on this forum maybe able to chime in with, but in the meantime you can simply remove the cms_selflink tag and replace it with a hard coded <a> tag, so in your case it will be something like this:

Code: Select all

<a href="downloads">Downloads</a>
Hope that helps.

S