Gomlers Posted January 15, 2016 Share Posted January 15, 2016 I would like to add some small links and some text between the top horizontal menu and the breadcrumbs in the default prestashop theme / 1.6.1.0. But it should always be visible even if breadcrumbs is not showing - also on frontpage. I would like it to look like this: I see I can hardcode this into the breadcrumb.tpl file, but what would the best solution? Does anyone know of any modules that can do this, so it's easy to change the text and links on weekly campaigns? Or can anyone do this for me - I will pay.. Link to comment Share on other sites More sharing options...
Nyla C. Posted January 15, 2016 Share Posted January 15, 2016 I'd say the answer to this depends on what you define as easy. If you're looking for a solution you can go an edit from your backoffice when needed, you'd need to find a module (such as custom html) or have one built and make sure it's hooked in between your header and breadcrumb. If you don't mind manually editing a template file when needed to change the text, I can hardcode this into the file for you and just show you where to change the links/text there when needed. Link to comment Share on other sites More sharing options...
Gomlers Posted January 16, 2016 Author Share Posted January 16, 2016 Thanks, the best would be to have a module, which wasn't affected by updates. But which hook should it be put into. Is it possible to add a module in between the menu and the breadcrumbs? Link to comment Share on other sites More sharing options...
Nyla C. Posted January 16, 2016 Share Posted January 16, 2016 Probably the easiest way to do this then would be to install the prestashop custom html block module. Then use hooks to put it in between your header and breadcrumbs. After that, you can use CSS to style it how you want, and whenever you need to make a change to the text itself, you can just do it in the module. Depending on what template you're using, the header and breadcrumb might be moveable. If so, after installing the html block module, you can click modules > positions > run live edit and then drag and drop the html block where you would like. By default, it displays on all pages anyway, so you would not need a custom hook with this method. 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