This is the bug tracking and feature request tracking system for the Mambo open source CMS project. To add a new task, or comment or vote on an existing task, please register, preferably by using the same username that you use on the forums.
Please do not open tasks for bugs in versions earlier than Mambo 4.6.5.
FS#370 - Archive links incorrect Itemid
Opened by Orstio (Orstio) - Thursday, 22 May 2008, 23:34 GMT-4
Last edited by Andres Felipe Vargas valencia (andphe) - Thursday, 23 October 2008, 07:39 GMT-4
|
DetailsIf you change the first item in your main menu to a component other than frontpage or content, the archive links at the bottom of a content page acquire the Itemid of that first link, resulting in a permission denied error. I fixed it by changing line 365 in content.html.php from: Code: $_Itemid = $mainframe->getItemid( $rows[$i]->id, 0, 0, $ItemidCount['bs'], $ItemidCount['bc'], $ItemidCount['gbs'] );To: Code: $_Itemid = $mainframe->getItemid( $rows[$i]->id);It now finds the correct Itemid. |
We made changes to Itemid in 4.6.4 Orstio. Are you still seeing the same problem or has it been resolved now?
Thank you for your report, I've made some fixes to the content component that can fix this issue, the files are attached, please test it and let us know if that helps.
This task then is tagged as required testing.