Accesskeys:

[`] Navigation, [s] Content, [=] Top of Page, [1] Home page, [3] Site map, [4] Search, [9] Quote Request, [0] Access key details

Next: Content. Select to move to navigation [`]

Pathway

Home arrow Developer Center

‘corePHP’ Developer Center

Fixing ItemID issues in Joomla .13 

September 20th, 2007

Many 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.

Leave a Reply

You must be logged in to post a comment.



Next: Navigation. Select to move to content [s]

Site Navigation


Basecamp project management and collaboration