Page 1 of 1

{SOLVED} CGSimpleSmarty syntax question

Posted: Thu Sep 27, 2012 4:45 pm
by camillep
This is probably a simple question...Sorry if my description is not so great. I hope it is understandable.

If I use {$cgsimple->get_page_content('page')} to call in text from one page to another page, and that page contains a tag (i.e. {cms_selflink}), the actual words get called ({cms_selflink}) and not link itself. This happens with other tags too.

Is this because {$cgsimple->get_page_content('page')} gets the page content as text only? Or, is there something special that I need to enclose tags with?

----

I inadvertently stumbled on a solution to this looking up another issue. What I needed to use was {eval var}.