joomla Startseite abfragen


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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" )) ?>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.