Page 1 of 1

including Smarty tags in a selflink

Posted: Wed Oct 31, 2007 1:43 am
by jmcgin51
I want to do something like this:
{cms_selflink page='80' text='© {custom_copyright} My Business Name'}

which would produce text something like:
© 2004 - 2007 My Business Name

and would link to a page that fully details my copyright statement

BUT, putting a Smarty tag ({custom_copyright}) inside the cms_selflink tag gives a Smarty error.

can this be done?  how?

Re: including Smarty tags in a selflink

Posted: Wed Oct 31, 2007 1:47 am
by calguy1000
{capture assign='junk'}@ {custom_copyright} My Business Name{/capture}
{cms_selflink page='80' test="$junk"}

Re: including Smarty tags in a selflink

Posted: Wed Oct 31, 2007 3:44 am
by Nullig
I think calguy meant:

{cms_selflink page='80' text="$junk"}

Nullig

Re: including Smarty tags in a selflink

Posted: Wed Oct 31, 2007 1:03 pm
by jmcgin51
cool - thanks guys!