Enoteca Posted February 11, 2014 Share Posted February 11, 2014 (edited) The title says it all. How can I insert a current date script inside the blocktopmenu (on the left or right) ? I mean, I know what kind of script is needed and I would call it with a simple <script src=""></script>, but where exactly in the blocktopmenu.tpl file should I put this? I have followed http://www.prestashop.com/forums/topic/14609-display-current-date-and-time/ but I'm searching for a simple call from .tpl file without going to modify other codes. Edited February 16, 2014 by Enoteca (see edit history) Link to comment Share on other sites More sharing options...
Enoteca Posted February 16, 2014 Author Share Posted February 16, 2014 (edited) For anyone with the same problem, I manage to insert the script inside the blocktopmenu.tpl, inside the <ul></ul> tags, just before the first <li>. I made a new class to give it a flot:left and some styling. Result is visible on www.mondodellabirra.com/shop. Edited February 16, 2014 by Enoteca (see edit history) 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