/ Published in: PHP

publish to everywhere except VirtueMart checkout pages (I think!)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $page = JRequest::getVar('page', null); $view = JRequest::getVar('view', null); if($view == ('frontpage') && $page!='shop.cart' && $page!='account.order_details' && $page !='shop.browse' && $page !='checkout.thankyou' && $page !='shop.product_details' && $page !='account.index' && $page !='account.billing' && $page !='account.shipping' && $page !='account.shipping' && $page !='account.shipto' && $page !='shop.registration'): ?> put what you want in here <?php endif; ?>
URL: http://forum.joomla.org/viewtopic.php?p=1868474
Comments
