What is the best way to only show the category description on the first page of a category?
I found the following way but not sure if it is the best:
<?php $currentPage = (int) Mage::App()->getRequest()->getParam('p');
if($currentPage <= 1): ?>
<div class="category-description std"> <div class="category-description std">
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?> <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
</div> </div>
<?php endif; ?>
Mage::App()->getRequest()->getParam('p') to Mage::app()->getRequest()->getParam('p')