Return to Snippet

Revision: 45944
at May 11, 2011 14:30 by morktron


Initial Code
<?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; ?>

Initial URL
http://forum.joomla.org/viewtopic.php?p=1868474

Initial Description
publish to everywhere except VirtueMart checkout pages (I think!)

Initial Title
Conditional code to publish to all pages except VirtueMart checkout

Initial Tags
joomla

Initial Language
PHP