Skapamento Posted March 17, 2013 Share Posted March 17, 2013 (edited) Hi all, $menu HTML you edit in blocktopmenu.php, function makeMenu(). And for example for categories you add code to function getCategory, if (!empty($is_intersected)) { $this->_menu .= '<li '.$selected.'>'; $this->_menu .= '<a href="'.$category_link.'">'.$category->name.'</a>'; if (count($children)) { $this->_menu .= '<ul>'; foreach ($children as $child) $this->getCategory((int)$child['id_category'], (int)$id_lang, (int)$child['id_shop']); $this->_menu .= '</ul>'; } $this->_menu .= '</li>'; } I tried to change blocktopmenu.php as shown above but nothing happened? i want to add the <ul> menu in a html attributes <div> but there is a wrong because editing doesn't affect ! any help? my link: http://www.ibnqym.com/home/ Edited March 17, 2013 by Skapamento (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2013 Share Posted March 17, 2013 for the first you must check force compilation setting in your store, you must turn it on if its off. Next thing is to locate correct .tpl file. You should check your theme/your_theme/modules directory for override tpl files of this module, if file exists there, you should apply changes there 1 Link to comment Share on other sites More sharing options...
razaro Posted March 17, 2013 Share Posted March 17, 2013 Also check folder cache/smarty/cache and delete cached files that starts with blockcategories. 1 Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2013 Share Posted March 17, 2013 and whats goin on now? Link to comment Share on other sites More sharing options...
Skapamento Posted March 17, 2013 Author Share Posted March 17, 2013 for the first you must check force compilation setting in your store, you must turn it on if its off. Next thing is to locate correct .tpl file. You should check your theme/your_theme/modules directory for override tpl files of this module, if file exists there, you should apply changes there Great thanks Vekia, It's solved and working now as good as i need. but if i turned force compilation off again or cache and refreshing my page all edited gone as nothing edited ! Thanks again 1 Link to comment Share on other sites More sharing options...
Skapamento Posted March 17, 2013 Author Share Posted March 17, 2013 (edited) Also check folder cache/smarty/cache and delete cached files that starts with blockcategories. Now everything is good ! Thanks razaro, thanks all .. Edited March 17, 2013 by Skapamento (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2013 Share Posted March 17, 2013 woohoo it's very nice to hear that thanks for change topic title to solved, im convicted that this thread will be helpfull for other forum members 1 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