Kunena Menu
Module Params no influence on submenu Level 2
13 years 4 months ago #11725
by isiway
Replied by isiway on topic Module Params no influence on submenu Level 2
Thank you! Have a nice weekend!
Greetings from rainy Germany,
isiway
Greetings from rainy Germany,
isiway
Please Log in or Create an account to join the conversation.
13 years 4 months ago #11768
by isiway
Replied by isiway on topic Module Params no influence on submenu Level 2
Hello CED,
Reminder to fix the problem
Thank you!
isiway
Reminder to fix the problem
Thank you!
isiway
Please Log in or Create an account to join the conversation.
13 years 4 months ago #11786
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Module Params no influence on submenu Level 2
I'm trying to do it but I have many issues with this situation
try by your side :
1/ duplicate the default view in the tmpl folder of the module and rename it
2/ select this view in your module options
3/ change $item->level into $item->level-1 on both <li> tags in this view
CEd
try by your side :
1/ duplicate the default view in the tmpl folder of the module and rename it
2/ select this view in your module options
3/ change $item->level into $item->level-1 on both <li> tags in this view
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
13 years 4 months ago #11809
by isiway
Replied by isiway on topic Module Params no influence on submenu Level 2
Hello CED,
thank you, that worked. I had to change the lines like this
$isi_level=($item->level)-1;
echo '<li class="maximenuck maximenuckmodule' . $stopdropdownclass . $item->classe . ' level' . $isi_level . ' ' . $item->lic.....
Now the design can be changed in the modul-params on level 1.
BUT: now the file templ/default.php is changed in general.
If I copy the file to f.e. default_level2.php I cant choose it in the params.
So what do I have to do to keep the original default.php an choose default_level2.php only for this submenu?
Thank you,
isiway
thank you, that worked. I had to change the lines like this
$isi_level=($item->level)-1;
echo '<li class="maximenuck maximenuckmodule' . $stopdropdownclass . $item->classe . ' level' . $isi_level . ' ' . $item->lic.....
Now the design can be changed in the modul-params on level 1.
BUT: now the file templ/default.php is changed in general.
If I copy the file to f.e. default_level2.php I cant choose it in the params.
So what do I have to do to keep the original default.php an choose default_level2.php only for this submenu?
Thank you,
isiway
Please Log in or Create an account to join the conversation.
13 years 4 months ago #11810
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Module Params no influence on submenu Level 2
you must not name it "default_level2.php" but just "default2.php"
try this and you should be able to select it in the advanced options of the module
CEd
try this and you should be able to select it in the advanced options of the module
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
13 years 4 months ago #11813
by isiway
Replied by isiway on topic Module Params no influence on submenu Level 2
My hero,
thank you so much, that worked!
Kind regards, Carola
PS: Something different:
For the future development I suggest a button at modul params "style customization" additionally to "Candel" and "Save" -> "Apply and Save Modul", leaving the window of the "style customization" open.
Now I always have to "SAVE" in the param-window, then "Save" Modul, look at the result and then click the params again to open style customization, then click f.e. main level. That would really be helpful...
thank you so much, that worked!
Kind regards, Carola
PS: Something different:
For the future development I suggest a button at modul params "style customization" additionally to "Candel" and "Save" -> "Apply and Save Modul", leaving the window of the "style customization" open.
Now I always have to "SAVE" in the param-window, then "Save" Modul, look at the result and then click the params again to open style customization, then click f.e. main level. That would really be helpful...
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds



