/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
----- frontpage -------- <?php $menu = &JSite::getMenu(); ?> <?php if ($menu->getActive() == $menu->getDefault()) { ?> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/deintemplate/css/frontpage.css" type="text/css" /> <?php } ?> ----- other stuff -------- <?php if (($option=="com_sobi2") && ($sobi2Task=="search" )) ?>
URL: http://portal.hrpr.com/joomla-15-templates-conditional-statements