internal link in Static tex field formbuilder

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.
Locked
peterbus

internal link in Static tex field formbuilder

Post 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?
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: internal link in Static tex field formbuilder

Post 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
Locked

Return to “CMSMS Core”