Page 1 of 1
Calguys Content Utlities ans Smarty
Posted: Fri Feb 04, 2011 3:17 pm
by _luki
I was wondering if there is a posibility to make smarty tag working in the backend. I made by Calguys Content Utlities module - a custom dropdown block and put my tag into it. Put the block in my template, and when I'm editing page content I see additiotional field and {my_tag} in it - I want to see results of {my_tag} there. Could it be done?
Re: Calguys Content Utlities ans Smarty
Posted: Mon Feb 14, 2011 9:37 pm
by smokeycam09
Hi there,
I figured out a way, and that was to "capture" the value at the top of my template. Then apply an eval var tag to the final output:
eg:
{capture assign='gallerytag'}
{content_module module='CGContentUtils' block='Gallery' name='Gallery' label='Gallery Tag'}
{/capture}
and now with the final output value:
{eval var=$gallerytag}
Hope that helps you.