Areas not working on new page type
PermalinkI have made a new page type (handle: 'page_two'), and when editing defaults for the page all my areas show up fine, but when I create a new page with the design 'page_two' none of my custom areas show up except for those area names that are also present in the default page design (handle: 'page').
My area names are: 'title', 'subtitle', 'column 1', 'column 2' and 'column 3'
What could the problem be?
<div id="content"> <div style="max-width: 100px; float:left;"> <?php $a = new Area('Subtitle'); $a->display($c); ?> </div> <div style="max-width: 565px; float:left;"> <?php $a = new Area('Title'); $a->display($c); ?> </div> <div style="float:left; clear:both; margin-right: 20px; width: 290px;"> <?php
id="content" makes the problem maybe?
Can you show the code.