[solved] CGSimpleSmarty breaks Smarty mailto
Posted: Thu Jun 14, 2012 1:00 pm
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?
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?