Sub-menus in GuMaxDD
- georgesmart1
- Rank 1
- Posts: 8
- Joined: October 16th, 2011, 3:28 pm
Sub-menus in GuMaxDD
Hi. I would firstly like to say thank you for a great skin for MediaWiki. I use the skin for my personal website and have a question about the navigation structure of the menus. Essentially, can I have sub menus? What I would really like is to be able to add another layer to the menus on my page and wondered if it was possible? So that it looked something like the following:
Notice the Triangles that indicate items with sub-menus? The above is a mock image.
I am wondering if there is a way to do this?
Any help would be greatly appreciated!
George Smart, M1GEO
Notice the Triangles that indicate items with sub-menus? The above is a mock image.
I am wondering if there is a way to do this?
Any help would be greatly appreciated!
George Smart, M1GEO
Re: Sub-menus in GuMaxDD
Well, the skin and script in GuMaxDD already has this ability, however the mediawiki menu page doesn't support that extra level sub menu. All menus in wiki are one level...
- georgesmart1
- Rank 1
- Posts: 8
- Joined: October 16th, 2011, 3:28 pm
Re: Sub-menus in GuMaxDD
Is it then possible to use the implementation already in your code? I only use your GuMaxDD skin, and this feature (although non standard) would greatly improve the navigation of my website.
If it is possible, could you explain how I am to go about it? I'm a technical person in terms of programming but with no real experience of CSS/Web Design.
Thanks in adavnce, Paul. Great work! Keep it up!
George.
If it is possible, could you explain how I am to go about it? I'm a technical person in terms of programming but with no real experience of CSS/Web Design.
Thanks in adavnce, Paul. Great work! Keep it up!
George.
Re: Sub-menus in GuMaxDD
The problem is you can not get second level in wiki sidebar page...
- georgesmart1
- Rank 1
- Posts: 8
- Joined: October 16th, 2011, 3:28 pm
Re: Sub-menus in GuMaxDD
I understand this. Is there a way to avoid it? Could you not just add a second level parser into your code? I know the default MediaWiki engine doesn't support it, but I can't see it being too hard to modify the code to work (I have good programming experience, but thought I'd ask about this before hacking about with the code).
* FirstLevel|FirstLevel
** SecondLevel|SecondLevel
*** ThirdLevel|ThirdLevel
The other option I was toying with is the use of catagories. Something similar to this:
* Category:FirstLevel|FirstLevel
So clicking on the first level takes you to the category page, and then pages within the category are listed in the submenu?
Just some ideas? I'm not sure if there is a simple 'hack' to make it work?
Thanks for your replies
George.
* FirstLevel|FirstLevel
** SecondLevel|SecondLevel
*** ThirdLevel|ThirdLevel
The other option I was toying with is the use of catagories. Something similar to this:
* Category:FirstLevel|FirstLevel
So clicking on the first level takes you to the category page, and then pages within the category are listed in the submenu?
Just some ideas? I'm not sure if there is a simple 'hack' to make it work?
Thanks for your replies
George.
Re: Sub-menus in GuMaxDD
I guess you can hack it by adding code to read extra level of menu, but I think you might need to hack into wiki system to do that which will be complex and headache when you upgrade the wiki.
The skin and script already support multiple level menu, it's just not simple to do in wiki sidebar.
Another way is using extension to read another wiki page like sidebar page, then you can custom menu there.
There are ways to do it, but if it's worthy or not?
The skin and script already support multiple level menu, it's just not simple to do in wiki sidebar.
Another way is using extension to read another wiki page like sidebar page, then you can custom menu there.
There are ways to do it, but if it's worthy or not?
- georgesmart1
- Rank 1
- Posts: 8
- Joined: October 16th, 2011, 3:28 pm
Re: Sub-menus in GuMaxDD
Sure. I understand. Maybe I need to go down the route of making my own Sidebar equivalent and making sub-menus from that. If you can offer any advice regarding this, it would be greatly appreciated. Thank you!
Re: Sub-menus in GuMaxDD
You can read the existing code and it's not hard to add another level of menu in GuMaxDD.php, then you can focus how to get it.
- georgesmart1
- Rank 1
- Posts: 8
- Joined: October 16th, 2011, 3:28 pm
Re: Sub-menus in GuMaxDD
Thanks. I'll take a look at that over this weekend. Your help is appreciated!
- harleyotto
- Rank 0
- Posts: 1
- Joined: March 2nd, 2012, 10:56 pm
- Location: New York
- Contact:
Re: Sub-menus in GuMaxDD
i guess the problem is you can not get second level in wiki sidebar page.