Closed (works as designed)
Project:
Genesis
Version:
7.x-1.1
Component:
Genesis SUBTHEME
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2012 at 16:03 UTC
Updated:
18 Jul 2012 at 18:07 UTC
Thanks for the great theme. I have created a subtheme of Genesis and have been happily styling it out. However, I wanted to add the 4 column Gpanels to the footer region. I read the documentation and here are the steps I have done to try to place the GPanels in the footer:
<?php if ($page['footer'] || $feed_icons): ?>
<div id="footer">
<!-- Four column Gpanel -->
<?php if ($page['four_first'] || $page['four_second'] || $page['four_third'] || $page['four_fourth']): ?>
<div class="four-4x25 gpanel clearfix">
<?php print render($page['four_first']); ?>
<?php print render($page['four_second']); ?>
<?php print render($page['four_third']); ?>
<?php print render($page['four_fourth']); ?>
</div>
<?php endif; ?>
<?php print render($page['footer']); ?>
<?php print $feed_icons; ?>
</div>
<?php endif; ?> ; 4 col 4 x 25
regions[four_first] = GP 4 x 25% - First
regions[four_second] = GP 4 x 25% - Second
regions[four_third] = GP 4 x 25% - Third
regions[four_fourth] = GP 4 x 25% - Fourth; Uncomment if using Gpanels.
stylesheets[all][] = css/gpanels/gpanels-fluid.cssThe blocks that I moved from the footer into the GPanel regions just disappeared - they aren't being displayed on the page anywhere, and when I view the source of the page the blocks are nowhere to be found. I have cleared my cache as well to no avail. Am I missing something?
| Comment | File | Size | Author |
|---|---|---|---|
| Block Configuration | 48.25 KB | kbrinner |
Comments
Comment #1
Jeff Burnz commentedWell, you have this all inside...
if ($page['footer'] || $feed_icons):So if there is no feed icon or no block in the footer region, then nothing can appear. I can see from the screen shot you have no blocks in footer.
Remove that conditional wrapper and all will be well.
Comment #2
kbrinnerThanks Jeff - (I feel silly for missing this). I use Adaptive Theme and Genesis - they're both great, so thanks for your contributions and help.
Comment #3
kbrinner