Replace Yootheme Menu with Maximenu CK
11 years 11 months ago - 9 years 9 months ago #7003
by ced1870
Joomlack Webmaster and Developer
Replace Yootheme Menu with Maximenu CK was created by ced1870
you can find a documentation about the Warp framework from Yootheme here :
www.yootheme.com/themes/documentation/cu...-new-module-position
Update from 24/03/2014 :
www.yootheme.com/themes/documentation/developers/widgets-2
(Step2 + 5 are not necessary)
This is needed to create a new module position where you will insert the maximenu module. You can't assign it to the "menu" position in the Yootheme template because their system does not allow it to work as expected.
Thanks to Ralf for sharing his solution :
forum.joomlack.fr/index.php/4-maximenu-c...ais-ou?start=10#6687
www.yootheme.com/themes/documentation/cu...-new-module-position
Update from 24/03/2014 :
www.yootheme.com/themes/documentation/developers/widgets-2
(Step2 + 5 are not necessary)
This is needed to create a new module position where you will insert the maximenu module. You can't assign it to the "menu" position in the Yootheme template because their system does not allow it to work as expected.
Thanks to Ralf for sharing his solution :
forum.joomlack.fr/index.php/4-maximenu-c...ais-ou?start=10#6687
Joomlack Webmaster and Developer
Last edit: 9 years 9 months ago by ced1870.
The following user(s) said Thank You: slasher00
Please Log in or Create an account to join the conversation.
- nsheehan123
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 3
10 years 7 months ago - 10 years 7 months ago #18570
by nsheehan123
Replied by nsheehan123 on topic Replace Yootheme Menu with Maximenu CK
Don't know if this will help anyone else, I was able to replace the Menu position with a maximenuck position by doing the following:
Open the file templateDetails.xml from - \templates\yoo_lava
Add the line : <position settings="">maximenuck</position> on the line following the default Menu position line.
Open the file templates\yoo_themefolder\layouts\theme.php and make the following changes:
<div class="tm-page">
<?php if ($this->count('logo + headerbar + maximenuck + search')) : ?>
<nav class="tm-navbar uk-navbar">
<?php if ($this->count('search')) : ?>
<div class="uk-navbar-flip uk-visible-large">
<div class="uk-navbar-content"><?php echo $this->render('search'); ?></div>
</div>
<?php endif; ?>
<?php if ($this->count('maximenuck')) : ?>
<div class="uk-navbar-flip">
<?php echo $this->render('maximenuck'); ?>
</div>
<?php endif; ?>
By tweaking the various attributes for the menu (place changes in custom.css) I have a very useful MaxiMenuCK, that works just like the default menu, it will be hidden at the appropriate breakpoint and the maximenuck mobile menu takes it place.
I do suggest if use complex MegaMenus that you also modify the breakpoints to suit your menu and layout rather that making the menu work at various resolutions.
Cheers.
Open the file templateDetails.xml from - \templates\yoo_lava
Add the line : <position settings="">maximenuck</position> on the line following the default Menu position line.
Open the file templates\yoo_themefolder\layouts\theme.php and make the following changes:
<div class="tm-page">
<?php if ($this->count('logo + headerbar + maximenuck + search')) : ?>
<nav class="tm-navbar uk-navbar">
<?php if ($this->count('search')) : ?>
<div class="uk-navbar-flip uk-visible-large">
<div class="uk-navbar-content"><?php echo $this->render('search'); ?></div>
</div>
<?php endif; ?>
<?php if ($this->count('maximenuck')) : ?>
<div class="uk-navbar-flip">
<?php echo $this->render('maximenuck'); ?>
</div>
<?php endif; ?>
By tweaking the various attributes for the menu (place changes in custom.css) I have a very useful MaxiMenuCK, that works just like the default menu, it will be hidden at the appropriate breakpoint and the maximenuck mobile menu takes it place.
I do suggest if use complex MegaMenus that you also modify the breakpoints to suit your menu and layout rather that making the menu work at various resolutions.
Cheers.
Last edit: 10 years 7 months ago by nsheehan123. Reason: forgot a line
Please Log in or Create an account to join the conversation.
10 years 3 months ago #21543
by DaffRider
Replied by DaffRider on topic Replace Yootheme Menu with Maximenu CK
Please Log in or Create an account to join the conversation.
10 years 3 months ago #21566
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Replace Yootheme Menu with Maximenu CK
Hi
give me your url to check this
CEd
give me your url to check this
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
10 years 3 months ago #21572
by DaffRider
Replied by DaffRider on topic Replace Yootheme Menu with Maximenu CK
Please Log in or Create an account to join the conversation.
10 years 3 months ago #21574
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Replace Yootheme Menu with Maximenu CK
there is no maximenu module in this page ...
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.239 seconds