Posted By

dburgess on 12/10/11


Tagged

page joomla home


Versions (?)

Joomla - Load only on home page


 / Published in: PHP
 

This will detect the Home Page of Joomla and perfom whatever code you tell it to

  1. <?php
  2. //This will detect the Home Page of Joomla and perfom whatever code you tell it to
  3. $menu = & JSite::getMenu();
  4. if ($menu->getActive() == $menu->getDefault()) {
  5.  
  6. //Your Code goes here
  7.  
  8. }
  9. ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: protar on May 28, 2019

As of https://plex.software/ . https://tutuappx.com/ . Vidmate . now you look good.

You need to login to post a comment.