Mambo BTS

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.

| Tasklist |

FS#370 - Archive links incorrect Itemid

Attached to Project: Mambo BTS
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
Task Type Defect
Category Frontend
Status Requires testing
Assigned To Andres Felipe Vargas valencia (andphe)
Operating System All
Severity Medium
Priority Normal
Reported Version 4.6.3
Due in Version 4.6.6
Due Date Undecided
Percent Complete 90%
Votes 0
Private No

Details

If 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.
This task depends upon

Comment by Lynne Pope (Elpie) - Monday, 26 May 2008, 03:11 GMT-4
  • Field changed: Status (Unconfirmed → Waiting on User)

We made changes to Itemid in 4.6.4 Orstio. Are you still seeing the same problem or has it been resolved now?

Comment by Andres Felipe Vargas valencia (andphe) - Saturday, 16 August 2008, 14:53 GMT-4

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.

Loading...