-
AuthorPosts
-
January 10, 2011 at 8:24 pm #158566
I have an item in my menu which has the “menu item type”: “Menu Link”.
Let’s call it the “Link Button”
(The menu type is also called an ALIAS)It links to another menu item – actually to a submenu item – which has the “menu item type” set to “article layout”.
Let’s call it “Article Button”Of course each “Arcticle Button” makes an “Article” show up.
Now if you click on a Link Button – it shows the Articel – because the Link Button “call’s” the Article Button, which again calls the Article.
However – what the Purity II menu doesn’t do is: It doesn’t update the menu.
But it should.The Link Button is still highlighted and not the Article Button as it should be.
The corresponding Articel is properly shown – but the menu still looks like it was before.
The whole status of the menu needs to be altered to show the location of the articel.This is unlike in any other template. This seems to be a serious bug to me. And I am quite surprised that I didn’t find anything about this in the forum. Somebody befor me must have tried to use a “Link Menu” menu type item before?
Using FireBug I found out that Joomla uses the class “active” to mark the currently activated menu item list. I found out that the Purity II template doesn’t set this class properly when using a Menu Link. After clicking on a menu link the HTML code shows that the the class “active” is still set for the old menu (Link Button). Instead it should set this “property” for the new link list.
This one happens no matter wheter you use the CSS menu oder Mega menu (or any other menu setting).
What can I do?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 18, 2011 at 10:14 am #372416dear subotai,
the mega menu tracks the itemId param on url to mark an corresponding item as “active”, it will not mark Article Button as you click on the Link Button. I think the solution here is, you can change the Link button type to External Link, and paste the url of the Article, it should work as expected.
regards
January 23, 2011 at 3:33 pm #373294Yes – this is the workaround I finally came up with as well.
Thanks anyway.
It is still a bug – but since the “External Link” type doesn’t have to be external. It works with links like “index.php?Itemid=75” as well. So it is almost like the internal link…Thanks again
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 24, 2011 at 3:28 am #373378hi,
yes external link is intended for links outside current site, but with links inside they are the same 🙂
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Ninja Lead 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum