Jump to content

Very rookie question about modifying menu


OunknownO

Recommended Posts

I have an html skeleton(and css)... of a menu but I need to add functionality to it(this is my first prestashop project). I want to create this kind of menu http://prntscr.com/cirlz1 . static dummy html/css are added. Now my question is what do I need to modify/add so that becomes static content(for example tabs be list of categories) and opens products. I don't need the code of precise but can you at least give me few examples of code(just point me in the right direction)

Link to comment
Share on other sites

 

 

Now my question is what do I need to modify/add so that becomes static content(for example tabs be list of categories)

everything depends on where you want to display it. if in left column i suggest to take a look on module: blockcategories 

in blockcategories.php there is a function public function dispalyLeftColumn() - this function contains feature to get the list of categories from database and pass array of categories to .tpl file. - just alter .tpl file of the module to fit your html/css skeleton

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...