Many of you have probably noticed that the latest Joomla! release breaks many scripts that rely on ItemIDs for processing. If you are using our code utilize an ItemID for a unique CSS on each page, 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. It needs to go under:
<?php mosShowHead(); ?>
<?php if ( $my->id ) { initEditor(); } ?>
Insert this line of code, and you will be able to use the ItemID again (which is crucial in many cases).
<?php global $Itemid; ?>
Please pass this along to anyone else who may be having issues with this.