Before Top Content I have the necessity to create eight new regions (4 in the first horizontal line and 4 in the second horizontal line).
I called these new high Regions_to:
alto_a
alto_b
alto_c
alto_d
alto_e
alto_f
alto_g
alto_h
I continued this procedure:
1. In zen_classic.info I addedd:
regions[left] = left sidebar
regions[right] = right sidebar
regions[navbar] = navigation bar
regions[alto_a] = alto_a
regions[alto_b] = alto_b
regions[alto_c] = alto_c
regions[alto_d] = alto_d
regions[alto_a] = alto_e
regions[alto_b] = alto_f
regions[alto_c] = alto_g
regions[alto_d] = alto_h
regions[content_top] = content top
regions[content_bottom] = content bottom
regions[header] = header
regions[footer] = footer
regions[closure_region] = closure2. In page_tpl.php
........
<div id="container" class="clear-block">
<?php if (!empty($left)): ?>
<div id="sidebar-left" class="column sidebar">
<?php print $left; ?>
</div> <!-- /sidebar-left -->
<?php endif; ?>
<div id="main" class="column"><div id="squeeze" class="clear-block">
<?php if (!empty($mission)): ?>
<div id="mission"><?php print $mission; ?></div>
<?php endif; ?>
<?php if (!empty($content_top)): ?>
<!-- start alto ABCD -->
<table>
<tr>
<td>
<?php if ($alto_a) { ?><td id="alto_a">
<?php print $alto_a ?>
</td><?php } ?>
<?php if ($alto_b) { ?><td id="alto_b">
<?php print $alto_b ?>
</td><?php } ?>
<?php if ($alto_c) { ?><td id="alto_c">
<?php print $alto_c ?>
</td><?php } ?>
<?php if ($alto_d) { ?><td id="alto_d">
<?php print $alto_d ?>
</td><?php } ?>
<?php if ($alto_e) { ?><td id="alto_e">
<?php print $alto_e ?>
</td><?php } ?>
<?php if ($alto_f) { ?><td id="alto_f">
<?php print $alto_f ?>
</td><?php } ?>
<?php if ($alto_g) { ?><td id="alto_g">
<?php print $alto_g ?>
</td><?php } ?>
<?php if ($alto_h) { ?><td id="alto_h">
<?php print $alto_h ?>
</td><?php } ?>
</tr>
</table>
<!-- end top content -->
<div id="content-top"><?php print $content_top; ?></div>
<?php endif; ?>
<div id="content">
<?php if (!empty($title)): ?>
<h1 class="title"><?php print $title; ?></h1>
<?php endif; ?>
<?php if (!empty($tabs)): ?>
<div class="tabs"><?php print $tabs; ?></div>
<?php endif; ?>
<?php print $help; ?>
<?php print $messages; ?>
<?php print $content; ?>
<?php if (!empty($feed_icons)): ?>
<div class="feed-icons"><?php print $feed_icons; ?></div>
<?php endif; ?>
</div> <!-- /content -->
<?php if (!empty($content_bottom)): ?>
<div id="content-bottom"><?php print $content_bottom; ?></div>
<?php endif; ?>
</div></div> <!-- /squeeze /main -->
<?php if (!empty($right)): ?>
<div id="sidebar-right" class="column sidebar">
<?php print $right; ?>
</div> <!-- /sidebar-right -->
<?php endif; ?>
</div> <!-- /container -->
<div id="footer-wrapper">
<div id="footer">
......Resulted: it there is not the new regions. Someone it can help understand me how to do?
Comments
Comment #1
johnalbinDid you rebuild the theme registry? http://drupal.org/node/173880#theme-registry
Comment #2
enzo de simone commentedyes. In the section of the Blocks I see all the shouting. The problem is that the content of the block does not come shown. When I selection a block from http://gennagiochi.it/admin/build/block in alto_a (exemple) I can see it but in the other pages it is not visible. Also I experienced to give them But nothing...
Comment #3
enzo de simone commentedThanks, you had reason. For to make it work correctly I do the procedure for 3 times
Comment #4
niklp commentedIs this fixed...?
Sounds like something weird in the registry, or caching, or something? :p
Comment #5
enzo de simone commentedYes. It's fixed. Thanks
Comment #6
johnalbinComment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.