Henning or other Gantry Gods:
I'm close to what I want to do but not quite there:
Gantry Template v 4.1.20 on Joomla 3.2.1
I wish to add two additional Content Bottom rows which will each have 3 modules.
I know how to "stack" in module positions but the issue is one of style alignment, as content height varies depending on headline length (see attached threerows.png) so i don't get horizontal symmetry, only vertical. A bit of whitespace at the bottom of each module in content-bottom a, b, c will be fine the ideal is to have these nine blocks in a nice symmetrical grid...
Dividing these up into three separate module rows in Content Bottom style/ placement will solve that.
I know that the file to modify is body_mainbody.php as found in /libraries/gantry/html/layouts
and that it needs to be moved to templates/gantry/html to prevent overwrite.
It does not appear that I need do anything with tempate-options.xml as these two new rows would be in mainbodyPosition.
Nor do i have to modify template's index.php file (i think).
If i call them content-bottom2 and content-bottom3
I add<position>content-bottom2-a</position>
<position>content-bottom2-b</position>
<position>content-bottom2-c</position>
<position>content-bottom3-a</position>
<position>content-bottom3-b</position>
<position>content-bottom3-c</position>
to file templateDetails.xml
But what I can't get is code at bottom of body_mainbody.php or if there are other files that I must modify.
Tried this:
ORIGINAL FILE body_mainbody.php lines 60-64<?php if (isset($fparams->contentBottom)) : ?>
<div id="rt-content-bottom">
<?php echo $fparams->contentBottom; ?>
</div>
<?php endif; ?>
MODIFIED TO<?php if (isset($fparams->contentBottom)) : ?>
<div id="rt-content-bottom">
<?php echo $fparams->contentBottom; ?>
</div>
<?php endif; ?>
<?php if (isset($fparams->contentBottom2)) : ?>
<div id="rt-content-bottom2">
<?php echo $fparams->contentBottom2; ?>
</div>
<?php endif; ?>
<?php if (isset($fparams->contentBottom3)) : ?>
<div id="rt-content-bottom3">
<?php echo $fparams->contentBottom3; ?>
</div>
<?php endif; ?>
But it doesn't work. I"m missing something simple here. Can you help? THANKS
David