tozi Posted January 21, 2014 Share Posted January 21, 2014 (edited) Hi all, i need remove link category cms in topmenu. web: http://horeka-shop.cz/vitality/6-cerealie I need this: if i click on eg. Sport, that link does not work It is possible? Edited January 21, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2014 Share Posted January 21, 2014 modules> modules >block top menu > click on configure button if this "main" parent menu item, you can remove it from module configuration. Link to comment Share on other sites More sharing options...
tozi Posted January 21, 2014 Author Share Posted January 21, 2014 (edited) Yes but i need category in menu, but I do not want to be clickable. Or it is possible just put together the menu of articles? That was the main one? Edited January 21, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
tozi Posted January 21, 2014 Author Share Posted January 21, 2014 (edited) Ok solved. I change blocktopmenu.php this: $this->_menu .= '<li><a href="'.Tools::HtmlEntitiesUTF8($category->getLink()).'">'.$category->name.'</a>'; $this->getCMSMenuItems($category->id); $this->_menu .= '</li>'.PHP_EOL; to this: $this->_menu .= '<li><a href="#" class="cat_none">'.$category->name.'</a>'; $this->getCMSMenuItems($category->id); $this->_menu .= '</li>'.PHP_EOL; and add to css: .cat_none { cursor: default} Edited January 21, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now