Remove Generator META in Joomla
- February 15th, 2010
- Write comment
Hello,
today I’ll show you an elegant way to check if we are in the home page of our Joomla project :
$IsHomePage = false;
$menu = &JSite::getMenu();
if( $menu->_default == $menu->_active)
{
$IsHomePage = true;
}
it’s specialy helpfull for intergators (templates).
I’ve been looking this evening for a way to inject an “option” into select list using Mootools (work for 1.11 and 1.2 version),
Here the solution :
var MyElement = new Element('option');
MyElement.inject($('my_select'));
MyElement.setProperty('value','0');
MyElement.appendText('hello');
generator home jooma Joomla 1.5 meta modify module page position Prestashop remove template test
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.