Joomla Frontpage conditional

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

I set up an $isHome boolean variable at the beginning of a template's index.php file so I can easily test the condition throughout the file. To me, the semantic variable name makes the logic more readable.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.