ratlaw wrote:
The Itemid is actually used to identify the current 'Menu Link'. So the when you click on a 'Menu Link', 'about' in your case, the Itemid is set and (hopfully) wont change until a different Menu Link is clicked. This is why it is carried through when you click on 'read more'. So in answer to your question is working as coded but not how you expected.
Hmmm... If you have a main menu and a sub-menu and you've arrived at the page via the sub-menu, the menu link passed on via "read more" is, illogically, the Id of the main menu item, not the Id of sub-menu item by which you actually reached it???
Consider:
You go to a main menu link which takes you to:
Code:
/index.php?option=com_content&task=section&id=3&Itemid=4
This presents a sub-menu, and you select an item from that sub-menu which takes you here:
Code:
/index.php?option=com_content&task=blogcategory&id=12&Itemid=20
You scroll down a way, and one of those blog entries has a "Read more..." which you follow. It takes you here:
Code:
/index.php?option=com_content&task=view&id=92&Itemid=4
which, incidentally, highlights the top menu option as active, not the sub-menu through which it was reached.
Surely the logical place for it to take you is here:
Code:
/index.php?option=com_content&task=view&id=92&Itemid=20
*confused*
(Using 1.0.10)