Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

page identifier for contact us page? 
 
grooveyard
Jr. Member
 
Total Posts:  26
Joined:  2009-06-08
 

Hi
I have added code to show different columns depending on the page or category.

if a cms page im using:

<?php if(Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms' && Mage::getSingleton('cms/page')->getIdentifier() == 'home') : ?>

If a product category im using:

<?php if(Mage::registry('current_category') && Mage::registry('current_category')->getId()==4): ?>

but i see no cms page or category for the contact us form page..
What can i do without a page identifier?

Many thanks
Paul

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top