tomoac Posted November 14, 2014 Share Posted November 14, 2014 (edited) Hi I installed prestashop1.6 on my server. I saw default theme that is "default-bootstrap". I tried to change part of theme. I found {hook h="displayTopColumn"} in "header.tpl". What is that? How can I find code in displayTopColumn? Regards, tomoac Edited November 14, 2014 by tomoac (see edit history) Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted November 14, 2014 Share Posted November 14, 2014 This is a display hook named displayTopColumn. Consider the display hooks as markers in the template where modules can "inject" a code. In the default PrestaShop 1.6 installation this hook is used by the module "homeslider" i.e. "Image slider for your homepage", so you can find the code that generates code for that hook at modules/homeslider/homeslider.php The method is called "hookdisplayTopColumn()". 1 Link to comment Share on other sites More sharing options...
vekia Posted November 14, 2014 Share Posted November 14, 2014 How can I find code in displayTopColumn? modules -> positions search for modules list named displayTopColumn each module associated with this hook displays own code. it means that you will have to find your code inside these modules, exactly as PrestaShopDeveloper mentioned Link to comment Share on other sites More sharing options...
tomoac Posted November 15, 2014 Author Share Posted November 15, 2014 I could find code. But I am not sure that mechanism. I am thinking. Thanks anyway. 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