Hey everyone.
I want to completely collapse the frontpage content area of the 1.5 JA_Purity template, but keep the subpages intact. I’ve found instructions on how to do this for other templates, but not for Purity and my PHP coding skills aren’t sufficient enough to do it from scratch.
Here’s the method for the RAISITE template, for example
[PHP]<!–ONLY SHOW CONTENT ON SECONDARY PAGES –>
<?php if ( !$this->isFrontPage() ) : ?>
<!– MAIN CONTAINER –>
<div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’); ?>”>
<div class=”main”>
<div class=”ja-rs2-top”><div class=”ja-rs2-tl”> </div><div class=”ja-rs2-tr”> </div></div>
<div class=”ja-rs2-mid”><div class=”ja-rs2-ml”><div class=”ja-rs2-mr clearfix”>
<?php $this->loadBlock(‘breadcrumb’) ?>
<div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<?php $this->loadBlock(‘main’) ?>
<?php $this->loadBlock(‘left’) ?>
</div>
<?php $this->loadBlock(‘right’) ?>
</div></div></div>
<div class=”ja-rs2-bot”><div class=”ja-rs2-bl”> </div><div class=”ja-rs2-br”> </div></div>
<?php $this->loadBlock(‘bot’) ?>
</div>
</div>
<!– //MAIN CONTAINER –>
<?php endif; ?>
<!–END ONLY SHOW CONTENT ON SECONDARY PAGES –> [/PHP]
Any help is appreciated!
Thanks.