travelI'm on Holidays until the 21 august.

The questions posted during this period will receive no answer, so please be patient and wait before posting in the forum. Thank you

New registrations are suspended during this period

Je suis en vacances jusqu'au 21 aout.

Je ne répondrai à aucune question postée durant cette période. Merci d'attendre mon retour. Merci

Les inscriptions sur le site sont suspendues pendant cette période

 

Welcome, Guest
Username: Password: Remember me

TOPIC: Replace Yootheme Menu with Maximenu CK

Replace Yootheme Menu with Maximenu CK 22 Nov 2012 11:53 #7003

  • ced1870
  • ced1870's Avatar Topic Author
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17658
  • Karma: 391
  • Thank you received: 2263
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
The following user(s) said Thank You: slasher00

Please Log in to join the conversation.

Joomlack Webmaster and Developer
Last Edit: by ced1870.

Replace Yootheme Menu with Maximenu CK 07 Apr 2014 15:11 #18570

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.

Please Log in to join the conversation.

Last Edit: by nsheehan123. Reason: forgot a line

Replace Yootheme Menu with Maximenu CK 12 Aug 2014 23:15 #21543

HI / Salut

I use Moreno Yootheme Template (Warp7)

I have problem to have correct menu

I modify theme.php, config.xml and templateDetails.xml

But MaxiMenuCK dont have style



Thx for your help

sorry for my bad english im french ^^

Please Log in to join the conversation.

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 18:06 #21566

  • ced1870
  • ced1870's Avatar Topic Author
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17658
  • Karma: 391
  • Thank you received: 2263
Hi
give me your url to check this
CEd

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 18:27 #21572

Salut

181.224.142.124/~cgitrain/

Merci pour ton aide ;)

Please Log in to join the conversation.

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 18:45 #21574

  • ced1870
  • ced1870's Avatar Topic Author
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17658
  • Karma: 391
  • Thank you received: 2263
there is no maximenu module in this page ...

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 19:07 #21575

houps

désolé je l'avais pas réactivé

181.224.142.124/~cgitrain/

j'utilise le theme Moreno de chez Yootheme

Please Log in to join the conversation.

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 21:14 #21579

I just see the Yootheme menu using it's default uk-nav classes.
In Modules, create a new module, type MaxiMenu CK and assign the menu you wish to display and assign it to the possition you created by renaming the default Menu to maximenu_position_name (whatever you choose for the name)

TemplateDetails.xml set the option for the position drop down, it should look like this:
<positions>
<position settings="">search</position>
<position settings="">logo</position>
<position settings="">logo-small</position>
<position settings="">menu</position>
<position settings="">maximenuck</position>
<position settings="">toolbar-l</position>
<position settings="">toolbar-r</position>
<position settings="">headerbar</position>
<position settings="">breadcrumbs</position>

Template.php will set the position in the template, I have these 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; ?>
The following user(s) said Thank You: DaffRider

Please Log in to join the conversation.

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 21:18 #21580

Use firebug or Chrome Dev tools (f12) and have a look at
www.rppeo.ca

Good luck
The following user(s) said Thank You: DaffRider

Please Log in to join the conversation.

Replace Yootheme Menu with Maximenu CK 13 Aug 2014 22:48 #21581

Hi nsheehan123

Thx for your help

this a portion of code of the ORIGINAL template
<body class="<?php echo $this['config']->get('body_classes'); ?>">

	<?php if ($this['widgets']->count('logo + menu + search')) : ?>

	<div class="tm-block-top">
		<div class="uk-container uk-container-center">

			<?php if ($this['widgets']->count('logo')) : ?>
			<a class="tm-logo uk-visible-large" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['widgets']->render('logo'); ?></a>
			<?php endif; ?>

			<?php if ($this['widgets']->count('menu + search')) : ?>

			<nav class="tm-navbar uk-navbar uk-navbar-attached">

				<?php if ($this['widgets']->count('menu')) : ?>
				<?php echo $this['widgets']->render('menu'); ?>
				<?php endif; ?>

				<?php if ($this['widgets']->count('offcanvas')) : ?>
				<a href="#offcanvas" class="uk-navbar-toggle uk-hidden-large" data-uk-offcanvas></a>
				<?php endif; ?>

				<?php if ($this['widgets']->count('search')) : ?>
				<div class="uk-navbar-flip">
					<div class="uk-navbar-content uk-visible-large"><?php echo $this['widgets']->render('search'); ?></div>
				</div>
				<?php endif; ?>

				<?php if ($this['widgets']->count('logo-small')) : ?>
				<div class="uk-navbar-content uk-navbar-center uk-hidden-large"><a class="tm-logo-small" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['widgets']->render('logo-small'); ?></a></div>
				<?php endif; ?>

			</nav>
		<?php endif; ?>

		</div>
	</div>
	<?php endif; ?>

i found solution for have 2 options original menu and MaxiMenuCK

if module MaxiMenuCK enable, display OK

thx for your help i have test but sometime i have white page :( im not php dev :unsure:

Please Log in to join the conversation.

Last Edit: by DaffRider.
Time to create page: 0.373 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 324 guests and no members online