I have a need to have a custom layout for a category menu.
I have the overrides in the html folder of my template and I removed the following from the category.php file:
<!-- Subcategory more... -->
<a class="subCategoryMore" href="<?php echo $subCategory->link; ?>">
<?php echo JText::_('K2_VIEW_ITEMS'); ?>
</a>
This works fine. However, I was thinking there must be a best practice to do this right. How would I create an alternate category layout for the menu item?
Thanks,
Paul.
I have the overrides in the html folder of my template and I removed the following from the category.php file:
<!-- Subcategory more... -->
<a class="subCategoryMore" href="<?php echo $subCategory->link; ?>">
<?php echo JText::_('K2_VIEW_ITEMS'); ?>
</a>
This works fine. However, I was thinking there must be a best practice to do this right. How would I create an alternate category layout for the menu item?
Thanks,
Paul.