Posted By

sfjalar on 04/23/09


Tagged

page type joomla jrequest getvar


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

benrudolph
taimurian
mumra
matt0309


Detecting page type in Joomla


 / Published in: PHP
 

  1. <?php
  2. if ( JRequest::getVar('view') == 'frontpage' ) {
  3. ?>
  4. <!-- display your home page HTML here -->
  5. <?php
  6. } else {
  7. ?>
  8. <!-- display your internal page HTML here -->
  9. <?php } ?>

Report this snippet  

You need to login to post a comment.