Re: Menu question
in the template you can do
-
< -- Montra menu -->
- Orange
..::: Moncho Varela ::::.. ..::: @Nakome ::::.. ..::: Github ::::..
Re: Menu question
Thanks, but i want to automatically generate menu that i write in example...
Re: Menu question
..::: Moncho Varela ::::.. ..::: @Nakome ::::.. ..::: Github ::::..
Re: Menu question
It will still look like a link.
Re: Menu question
Do you need to create inactive links?
you have to modify the plugin menu and add a checkbox for inactive or something so
..::: Moncho Varela ::::.. ..::: @Nakome ::::.. ..::: Github ::::..
Re: Menu question
0) { foreach ($items as $item) { $item['link'] = Html::toText($item['link']); $item['name'] = Html::toText($item['name']); $pos = strpos($item['link'], 'http://'); if ($pos === false) { $link = Option::get('siteurl').$item['link']; } else { $link = $item['link']; } if (isset($uri[1])) { $child_link = explode("/",$item['link']); if (isset($child_link[1])) { if (in_array($child_link[1], $uri)) { $anchor_active = ' class="current" '; $li_active = ' class="active"'; } } } if (isset($uri[0]) && $uri[0] !== '') { if (in_array($item['link'], $uri)) { $anchor_active = ' class="current" '; $li_active = ' class="active"'; } } else { if ($defpage == trim($item['link'])) { $anchor_active = ' class="current" '; $li_active = ' class="active"'; } } if (trim($item['target']) !== '') { $target = ' target="'.$item['target'].'" '; } if ($anchor_active == '') { echo '
Monstra Loves You! Give some love back!
Re: Menu question
Thank you very very much