Fixing ItemID issues in Joomla .13
September 20th, 2007Many of you have probably noticed that the latest Joomla! has broken many scripts that rely on ItemID for processing. If you are using our code for using itemid for unique css on each page then you will want to implement this fix.
In order to fix the itemid issue you have to add a line of code to your template. Under
<?php mosShowHead(); ?>
<?php if ( $my->id ) { initEditor(); } ?>
insert this line of code and it will allow you to use ItemID again (which is crucial in many cases).
<?php global $Itemid; ?>
Pass this along to anyone else that may be having an issue with this.
Developer Center