Don't understand area feature in Concrete5
Permalink
Hi I'm new to concrete5 and I have jumped in at the deep-end of updating a site that has been prebuilt, the tag I am stuck on is this:
<?php $a = new Area('Main'); $a->display($c); ?>
I've assumed it'd hiding some content from me in 'main' but I can not see how I am able to access it.
Thanks
James
<?php $a = new Area('Main'); $a->display($c); ?>
I've assumed it'd hiding some content from me in 'main' but I can not see how I am able to access it.
Thanks
James
Thanks for the reply
I am trying to edit a navigational side menu on my home page that is set to the 'full width layout'
However when I got into Concrete5 CMS editor and edit the block it says:
$this->inc('homepage.php');
So I check homepage.php on dreamweaver and it refers to:
<?php $a = new Area('Main'); $a->display($c); ?>
A block with in a block?
Is there anyway you can search for this, as its not obvious from the WYSIWYG editor
I am trying to edit a navigational side menu on my home page that is set to the 'full width layout'
However when I got into Concrete5 CMS editor and edit the block it says:
$this->inc('homepage.php');
So I check homepage.php on dreamweaver and it refers to:
<?php $a = new Area('Main'); $a->display($c); ?>
A block with in a block?
Is there anyway you can search for this, as its not obvious from the WYSIWYG editor
Without areas you can't use the cms.
You can read more about areas here:
http://www.concrete5.org/documentation/using-concrete5/in-page-edit...
http://www.concrete5.org/documentation/general-topics/blocks-and-ar...
And you should read this how-to on theme development:
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...