Hello,
First time prestashop user. I've copied the default theme and am rebuilding it to look like our current website. My question is for something like a navigation bar, where I want to display links to the different categories, should I make a module and a hook for this specific purpose? From what I've read and seen from other examples different blocks are represented using modules and hooks. So for example if I want a list of the categories, I would create a blockCategory Module, define a 'display categories' hook, and then in my controller I'd execute the hook, assign the output to a smarty variable ($HOOK_CATEGORIES), and then use the smarty variable in my template file to display the categories. Assuming that I am understanding that correctly, should I create a new module every time I need a piece of dynamic content in my template? The navigation is going to be in the header, so it will be there on every page, and it seems like I could also just extend the FrontController, add a getNavigation method, and use that instead. Appreciate any input you can offer. Thanks,
Don