Kunena Menu
Is it possible-secondary menu displays only child
- wonderland
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
14 years 4 months ago #4100
by wonderland
Is it possible-secondary menu displays only child was created by wonderland
Hello,
I must say that this mod is just wonderful and almost fits my needs almost perfectly, there is just one problem and I'm not sure is this possible to do or not.
I have a 3 level main menu but only 2 levels will be visible at all times
Main Main structure:
Top category
- - subactegory 1
- - subcategory 2
- - subcategory 3
- - - sub sub category (this level inst't visible)
- - - sub sub category2 (this level inst't visible)
- - - sub sub category3 (this level inst't visible)
I'm using Maxi Menu CK to display my secondary menu and I have enabled option "Sub items dependant" and start from LVL 2
But when I'm in Top category Secondary menu (maxi menu ck) displays:
subcategory1
subcategory2
subcategory3
sub sub category 1
sub sub category 2
sub sub category 3
What I would liek to achieve:
1.I would like for sub sub category not to be displayed (this I actually understand how to do)
2. When pressing on subcategory 3 on secondary menu (Maxi menu ck) only these categories would show:
sub sub category 1
sub sub category 2
sub sub category 3
Basically I want for secondary menu to always display menu child categories. And if menu has no child categories it displays it's LVL categories.
I can think of one solution how to do this, by creating modules for each page level and choose to display module on said pages, but that would be a lot of modules, plus If would create a new menu categories I would need to go and add new pages for modules.
I must say that this mod is just wonderful and almost fits my needs almost perfectly, there is just one problem and I'm not sure is this possible to do or not.
I have a 3 level main menu but only 2 levels will be visible at all times
Main Main structure:
Top category
- - subactegory 1
- - subcategory 2
- - subcategory 3
- - - sub sub category (this level inst't visible)
- - - sub sub category2 (this level inst't visible)
- - - sub sub category3 (this level inst't visible)
I'm using Maxi Menu CK to display my secondary menu and I have enabled option "Sub items dependant" and start from LVL 2
But when I'm in Top category Secondary menu (maxi menu ck) displays:
subcategory1
subcategory2
subcategory3
sub sub category 1
sub sub category 2
sub sub category 3
What I would liek to achieve:
1.I would like for sub sub category not to be displayed (this I actually understand how to do)
2. When pressing on subcategory 3 on secondary menu (Maxi menu ck) only these categories would show:
sub sub category 1
sub sub category 2
sub sub category 3
Basically I want for secondary menu to always display menu child categories. And if menu has no child categories it displays it's LVL categories.
I can think of one solution how to do this, by creating modules for each page level and choose to display module on said pages, but that would be a lot of modules, plus If would create a new menu categories I would need to go and add new pages for modules.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #4101
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Is it possible-secondary menu displays only child
Hi
playing with the subcategories items like you want is not an eays job. Not easy to develop or to configure.
You must try to play with the actual options
Ced
playing with the subcategories items like you want is not an eays job. Not easy to develop or to configure.
You must try to play with the actual options
Ced
Joomlack Webmaster and Developer
The following user(s) said Thank You: wonderland
Please Log in or Create an account to join the conversation.
- wonderland
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
14 years 4 months ago #4102
by wonderland
Replied by wonderland on topic Re: Is it possible-secondary menu displays only child
Thank you for replying.
I decided that I will use 2 modules one for 2nd lvl categories and one for 3rd lvl categories, then I will just choose on which pages to display 2nd lvl categories and 3rd lvl categories.
This is working. However I noticed that when I go to 3rd lvl using maxi Menu CK, I get this error:
"Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59
Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59
Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59
Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 "
If I turn off error reporting this disappers, but why did this error appear ?
I decided that I will use 2 modules one for 2nd lvl categories and one for 3rd lvl categories, then I will just choose on which pages to display 2nd lvl categories and 3rd lvl categories.
This is working. However I noticed that when I go to 3rd lvl using maxi Menu CK, I get this error:
"Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59
Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59
Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59
Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 Notice: Undefined offset: 1 in /public_html/modules/mod_maximenuck/helper.php on line 59 "
If I turn off error reporting this disappers, but why did this error appear ?
Please Log in or Create an account to join the conversation.
14 years 4 months ago #4103
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Is it possible-secondary menu displays only child
I will check this, but this is just a Notice, don't be afraid it will not affect your system 
Ced
Ced
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- wonderland
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
14 years 4 months ago #4104
by wonderland
Replied by wonderland on topic Re: Is it possible-secondary menu displays only child
Thanks!
If it doesn't effect anything, don't bother, I'll just turn of error reporting !
If it doesn't effect anything, don't bother, I'll just turn of error reporting !
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds




