When you need a different condition for your Joomla 1.7 homepage
If you need to place a condition for youe home page in your joomla 1.7 template - we prefer using this code:
<?php if ($menu->getActive() == $menu->getDefault()) { ?>PUT ACTION HERE <?php } ?>
It doesn't depend on function, but purely works on the fact that if you are on the home page.
When do we use this conditional statement?
We don't use it for module assignment or any of the things you can do in the backend (yoursite.com./administrator).
We like it for adding a class or id to an element unique to the home page.
What is Joomla 1.5?
Joomla is a CMS - and has both functional and organisation aspects to managing content. This is a powerpoint from one of our courses that digramatically demonstrates this.
Using menu wrapper
Check if the source site minds you wrapping their content, then here's how to wrap another site in your own by creating a menu link.
Listing articles without numbering them
Want to list the articles in category without numbers in front of them? i.e. in an un-numbered list
What version is that addon?
When there is no "about", related to a plugin, where do you find the version information?
Changing order of newsflash items
Wondering how to change the order of the items in your newsflash? It default's to most recent item... or does it?
Changing database - can't connect
You changed to a different database in your Joomla! backend and now your site "can't connect to database"
Mod_syndicate in J!1.5 not working
Mod_syndicate will create an rss feed for you in a snap, but there are a couple of things to keep in mind...
More Articles...
- Can't get flash to embed in content
- Template only on J1.5 front page
- Speed tip for placing modules in J1.5
- Module title doesn't show up
- Split menu won't show on all pages
- Hide filter in section layout
- Search results - without a drop-down box
- Show empty categories in J! 1.0
- Preview positions in line with Joomla 1.5
- Make a new module position
- Flash without 'click here to activate'
- Favicons - making & placing them
- Done but with errors - page load error
- Problem with 'SEF' friendly urls
- How to change the home page in Joomla!
Audra's enthusiasm really kept the training interesting! I particularly liked the hands-on training and real world application. I feel Audra really made an effort to customise the training to our needs. ![]()
Emma Richards
Business Type: NGO Service
What We Do
-
Web Maintenance
-
Website Development
Get In Touch
What do you want to achieve?

























