mirko77 Posted January 8, 2011 Share Posted January 8, 2011 I am not able to hook the modules in the header or the top of pages.First of all, where is the mark up for "Top of pages" ? Where is this area in the page? I guess it is the "header" divSecondly, I tried to hook the quick search and the log in module to this header div but they do not appear, not even in the mark up. I always have an empty What I would like to do is having the search bar and the login module at the top of my page, kinda like this forum page, where the flags are. The header is now underneath my navigation bar, I might just move that at the top and then hook the modules there and style them.Thank you for your help Link to comment Share on other sites More sharing options...
rocky Posted January 9, 2011 Share Posted January 9, 2011 The "Header of pages" hook adds code before the closing </head> tag in header.tpl. It's used to add links to CSS and Javascript to all pages.The "Top of pages" hook adds code inside the header_right div, which is displayed on the right side of the website's logo.The search block and user info block should appear in the "Top of pages" hook, since that's the position they are in by default in PrestaShop's theme. I'm not sure why they aren't appearing. Perhaps a third-party theme issue?Is your navigation bar hardcoded in header.tpl or is it a module? Link to comment Share on other sites More sharing options...
mirko77 Posted January 10, 2011 Author Share Posted January 10, 2011 I am using a custom theme, the navigation bar is hardcoded. I found out this theme uses a as a container for the "Top of pages" modules.I placed the Quick Search module there but doing so, the Category Block with my category tree disappears. I guess there is some Javascript conflict... Link to comment Share on other sites More sharing options...
JakobFriis Posted April 17, 2011 Share Posted April 17, 2011 I have the same problem - have you found a fix ? 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