CMS Made Simple Forums
https://forum.cmsmadesimple.org/

How To - pass a content block to a global content block
https://forum.cmsmadesimple.org/viewtopic.php?f=4&t=75407
Page 1 of 1

Author:  toweb [ Thu Sep 08, 2016 12:37 pm ]
Post subject:  How To - pass a content block to a global content block

Quick Note how to pass a content block to a global content block.
\$1:
{assign var=varName value={content block="cbName" label="Just a cb"}}
{global_content name='gcbName' left=$varName}

Author:  toweb [ Tue Sep 13, 2016 2:12 pm ]
Post subject:  Re: How To - pass a content block to a global content block

thats how you access the variable in the global content block:
{$gcb_params.left}

Author:  Rolf [ Tue Sep 13, 2016 3:14 pm ]
Post subject:  Re: How To - pass a content block to a global content block

Read also http://www.cmscanbesimple.org/blog/pass ... tent-block

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/