Posted By

nico65 on 06/29/09


Tagged

conditional joomla Frontpage


Versions (?)

joomla Startseite abfragen


 / Published in: PHP
 

URL: http://portal.hrpr.com/joomla-15-templates-conditional-statements

  1. ----- frontpage --------
  2.  
  3. <?php $menu = &JSite::getMenu(); ?>
  4. <?php if ($menu->getActive() == $menu->getDefault()) { ?>
  5.  
  6. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/deintemplate/css/frontpage.css" type="text/css" />
  7. <?php } ?>
  8.  
  9. ----- other stuff --------
  10. <?php if (($option=="com_sobi2") && ($sobi2Task=="search" )) ?>

Report this snippet  

You need to login to post a comment.