Kunena Menu
Override Maximenu CK
13 years 2 months ago #13527
by ego1983
Override Maximenu CK was created by ego1983
Good evening,
i modified the maximenuhck.php file (in themes/css3megamenu/css/), I would apply the ovverride so i tried to move this file in the html folder of the template, but the override doesn't work. Is it possible obtain the override by the maximenuhck.php file or the only way is modifying only the default.php file (in the folder mod_maximenuck/tmpl/)?
Thanks
i modified the maximenuhck.php file (in themes/css3megamenu/css/), I would apply the ovverride so i tried to move this file in the html folder of the template, but the override doesn't work. Is it possible obtain the override by the maximenuhck.php file or the only way is modifying only the default.php file (in the folder mod_maximenuck/tmpl/)?
Thanks
Please Log in or Create an account to join the conversation.
13 years 2 months ago #13530
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Override Maximenu CK
Hi
the file maximenuhck.php of the theme can not be overridden like this. You must duplicate the theme and give it another name, then you can select it in the module options.
then the file /tmpl/default.php can be overridden like any other module with the template override technique
CEd
the file maximenuhck.php of the theme can not be overridden like this. You must duplicate the theme and give it another name, then you can select it in the module options.
then the file /tmpl/default.php can be overridden like any other module with the template override technique
CEd
Joomlack Webmaster and Developer
The following user(s) said Thank You: ego1983
Please Log in or Create an account to join the conversation.
13 years 2 months ago #13587
by ego1983
Replied by ego1983 on topic Override Maximenu CK
Thanks for your reply!
I didn't see in the module option where I can select the customized file maximenuhck.php.
Can you tell me in which part of the module option I can set it?
I have to install the Maximenu params plugin?
Thanks
I didn't see in the module option where I can select the customized file maximenuhck.php.
Can you tell me in which part of the module option I can set it?
I have to install the Maximenu params plugin?
Thanks
Please Log in or Create an account to join the conversation.
13 years 2 months ago #13588
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Override Maximenu CK
just duplicate the theme folder (for example the folder "default", or "css3megamenu") and give it another name
then to in the module options >> styles >> theme >> you will see the new folder
then to in the module options >> styles >> theme >> you will see the new folder
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
13 years 1 month ago - 13 years 1 month ago #14123
by ego1983
Replied by ego1983 on topic Override Maximenu CK
Hi Ced, i'm wondering if duplicating the theme of the maximenu in the path sitename\modules\mod_maximenuck\themes but without applying the template override tecnique, in this way i avoid loosing changes regarding the maximenuhck.php file when i will upgrade this module (or i must apply also the template override tecnicque to prevent loosing changes regarding the maximenuhck.php?).
I specify that i didn't do changes regarding the /tmpl/default.php file but only regarding the maximenuhck.php file.
Kind regards
I specify that i didn't do changes regarding the /tmpl/default.php file but only regarding the maximenuhck.php file.
Kind regards
Last edit: 13 years 1 month ago by ego1983.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #14125
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Override Maximenu CK
Hi
this is the right method, create your own theme so it will not be erased by future update (no relation with the template override)
CEd
this is the right method, create your own theme so it will not be erased by future update (no relation with the template override)
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.194 seconds




