Page 1 of 1

Re: Global Content block in a PHP variable (non-echo'ed)

Posted: Tue Mar 09, 2010 12:10 am
by jmcgin51
please explain further what you're trying to do

I'm assuming you want to store your metadata in GCBs so the metadata can be easily edited?

Re: Global Content block in a PHP variable (non-echo'ed)

Posted: Thu Mar 11, 2010 12:40 pm
by Peciura
You might be interested in smarty tags :
{capture assign='...'} BLAH {/capture}
{assign var='...' value='BLAH'}

"assign" parameter usually tells what smarty variable output should be stored in instead of being echoed. It is commonly used in UDTs and others smarty tags ( plugins, modules).
http://forum.cmsmadesimple.org/index.ph ... #msg185944