Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
litespeed_wiki:cache:litemage:customization:separate-front-page-footer [2015/12/21 17:32] Michael Alegre created |
litespeed_wiki:cache:litemage:customization:separate-front-page-footer [2015/12/21 17:36] Michael Alegre |
||
---|---|---|---|
Line 4: | Line 4: | ||
**For Example:** | **For Example:** | ||
+ | |||
+ | In the existing footer template "footer.phtml", there is a PHP script that dynamically determines whether the current page is the home page. | ||
+ | |||
<?php | <?php | ||
$page = Mage::app()->getFrontController()->getRequest()->getRouteName(); | $page = Mage::app()->getFrontController()->getRequest()->getRouteName(); |