• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: How To - pass a content block to a global content block
PostPosted: Thu Sep 08, 2016 12:37 pm 
Offline
New Member
New Member

Joined: Thu Sep 08, 2016 12:27 pm
Posts: 2
Quick Note how to pass a content block to a global content block.
Code:
{assign var=varName value={content block="cbName" label="Just a cb"}}
{global_content name='gcbName' left=$varName}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: How To - pass a content block to a global content block
PostPosted: Tue Sep 13, 2016 2:12 pm 
Offline
New Member
New Member

Joined: Thu Sep 08, 2016 12:27 pm
Posts: 2
thats how you access the variable in the global content block:
{$gcb_params.left}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: How To - pass a content block to a global content block
PostPosted: Tue Sep 13, 2016 3:14 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7442
Location: The Netherlands
Read also http://www.cmscanbesimple.org/blog/pass ... tent-block

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting