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

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

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

Post 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?
Peciura

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

Post 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
Post Reply

Return to “Developers Discussion”