jeyjoo Posted January 15, 2012 Share Posted January 15, 2012 Hi, New to PS. Im using PS 1.4.6.2, default theme. I would like to add a second nav bar in the header area. I was looking to add the front office module "new link block". Can anyone advice a best way? I will be adding two languages, so prefer to use a module than "code by hand". Much appreciated Link to comment Share on other sites More sharing options...
justinl Posted January 16, 2012 Share Posted January 16, 2012 I'd make a copy of an existing module that hooks into a similar area that you want, and then I'd edit the TPL file to display whatever new navigation you want to use. The fact that you have 2 languages doesn't really change anything because Prestashop makes it really easy to set translatable strings in smarty (e.g. {l s ='this string can easily be translated in the back office'}. I'm unfamiliar with what module inserts the new navigation for 1.4.6.2 (I haven't used it myself) but you could also hijack that modules tpl file and override it in your themes/modules/modulefolder/moduletemplatefile.tpl. Then just add in your second nav into that same module. Link to comment Share on other sites More sharing options...
jeyjoo Posted January 17, 2012 Author Share Posted January 17, 2012 Thanks Justin, That sounds like reasonable answer. Will post back if I manage to do this. Link to comment Share on other sites More sharing options...
jeyjoo Posted January 17, 2012 Author Share Posted January 17, 2012 That worked. I used the CMS links. Only problem is that every time I create a new category, I have to add manually the category to the nav bar. 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