I have content block "contact" on one of the templates. There I use {mailto} tag to encode email address. This works fine.
Now I need to show the same contact information on sub-pages of this page. To avoid filling in same info many times I use CGSimpleSmarty: {$cgsimple->get_page_content($cgsimple->get_parent_alias(),contact)}. This works except for {mailto} tag which does not get run through Smarty but is shown as regular text.
Is there any way to make this work?
[solved] CGSimpleSmarty breaks Smarty mailto
[solved] CGSimpleSmarty breaks Smarty mailto
Last edited by asdf on Mon Jun 18, 2012 8:30 am, edited 1 time in total.
Re: CGSimpleSmarty breaks Smarty mailto
I'm thinking you may need to eval= the content, either in the original page or in your cgsimplesmarty call, search the forum, I've seen this before...
Re: CGSimpleSmarty breaks Smarty mailto
Thanks a lot! {eval var=$cgsimple->get_page_content($cgsimple->get_parent_alias(),contact)} works.