olofr Posted September 11, 2014 Share Posted September 11, 2014 Hi This is my top menu: Hem = Home, the rest is categories for products. When hovering over Hem: This is the CMS part: Deliveries, Payment, About us.. The problem is when I click Hem (Home), I go to this page: URL: http://www.anystore.com/content/category/1-hem But, I want that Hem (Home) link to take my to the storefront, startpage, ex www.anystore.com. Nothing else. How do I change that? Looking forward to some help. Driving me nuts! BR OlofR Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2014 Share Posted September 11, 2014 it's necessary to alter block top menu php file, at the moment there is no other way there is a line like: case 'CMS_CAT': $category = new CMSCategory((int)$id, (int)$id_lang); if (count($category)) { $this->_menu .= '<li><a href="'.Tools::HtmlEntitiesUTF8($category->getLink()).'" title="'.$category->name.'">'.$category->name.'</a>'; $this->getCMSMenuItems($category->id); $this->_menu .= '</li>'.PHP_EOL; } break; it's necessary to change href="" param Link to comment Share on other sites More sharing options...
olofr Posted September 17, 2014 Author Share Posted September 17, 2014 Thanks a lot! Worked great (after I found out how to clear the cache) Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2014 Share Posted September 18, 2014 that's right, module code must be regenerated after changes, so clearing cache is the best way to achieve it :-) topic marked as solved with regards, Milos 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