3 content areas
Permalink
A small question. Is it possible to create 3 content areas - 2 sidebars and 1 main area - that are all edible
But how
Found the sollution. And that is easy :) Really great cms program thanx.
For others, if you want a new area, for example a new sidebar, then all you need to do is to ad
where ever you want it to be, and then change "Sidebar" to what ever you want it to be called.
Exs:
For others, if you want a new area, for example a new sidebar, then all you need to do is to ad
<?php $as = new Area('Sidebar'); $as->display($c); ?>
Exs:
<?php $as = new Area('LeftSidebar'); $as->display($c); ?>
he's talkin about themes... add that to your theme, and a new block area will emerge.
and stick to it.
I had an instance where I dropped in a block that puts a zoom slideshow modal box on any image inside a href w/ the class="slide" on a page.
Anyways, I switched over to my theme which had differently named areas for the page type. I kept getting the slideshow/type stuff even though the block wasn't installed.
What happened is I had switched my homepage pagetype to a custom pagetype that didn't have a matching area name, so the blocks didn't show. The blocks were still able to add javascript to the head, and since I couldn't see the block to delete it I was stuck with the effect until I switched theme for that page, deleted the block, then reset the theme.
So moral of the story, keep consistent names :)
I had an instance where I dropped in a block that puts a zoom slideshow modal box on any image inside a href w/ the class="slide" on a page.
Anyways, I switched over to my theme which had differently named areas for the page type. I kept getting the slideshow/type stuff even though the block wasn't installed.
What happened is I had switched my homepage pagetype to a custom pagetype that didn't have a matching area name, so the blocks didn't show. The blocks were still able to add javascript to the head, and since I couldn't see the block to delete it I was stuck with the effect until I switched theme for that page, deleted the block, then reset the theme.
So moral of the story, keep consistent names :)
So it looks like blocks are assigned to Areas when the page is created (or edited)
Is there no way to change this assignment, other that to delete and re-create the block?
(this could be a real problem if the block are complex or content heavy)
Is there no way to change this assignment, other that to delete and re-create the block?
(this could be a real problem if the block are complex or content heavy)
I had 18 areas on a page, I am sure that is hardly the record though :)