Multiple Category Blog Layout menu items, same category

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
Kershaw
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Feb 16, 2009 4:03 pm

Multiple Category Blog Layout menu items, same category

Post by Kershaw » Mon May 20, 2013 1:10 pm

Has anyone created more than one category blog layout menu pointing to the same category? Without problems?

When I created the second menu item all the titles on the first list would open using the second menu item. Smart Search also then was behaving the same way. I do not want an alias here. I want to stay in the menu structure for each menu item. When J! creates a route for each article in blog layout it uses
ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)
After this step we have a non-sef url with menu item id.
But this mechanism never takes into account a current menu item.
Seems J! uses last(or first) Itemid for category that it found in DB but not current.

User avatar
pxforti
Joomla! Hero
Joomla! Hero
Posts: 2755
Joined: Wed Apr 04, 2007 8:54 pm
Location: Driggs, Idaho

Re: Multiple Category Blog Layout menu items, same category

Post by pxforti » Tue May 21, 2013 2:02 pm

Instead of creating a second menu link pointing to the same category, create an alias to the link. That is a choice when you create a new menu item.
Joomla Website Design / CS-Cart Website Design
http://writenowdesign.com

Kershaw
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Feb 16, 2009 4:03 pm

Re: Multiple Category Blog Layout menu items, same category

Post by Kershaw » Tue May 21, 2013 3:19 pm

but I want to stay where I am, each menu item is in a different place in the site. A section for Investors, a section for Partners and a general area of the site. I want to stay in Investors, not pop over to Partners. Alias will not work here.


Locked

Return to “Joomla! 2.5 Bug Reporting”