f8dev Posted July 9, 2014 Share Posted July 9, 2014 Hi all, I am new top prestashop customisation so bear with me. I know I can hard code the twitter and facebook stuff in to nav.tpl, but what I would like to do is pull the sites facebook and twitter urls. For example in blocksocial this generates $facebookurl and $twitterurl, I don't think I can access these variables as they are in a different module? Will I need to alter the module so the user enters the facebook and twitter details in the back end of this module or is there a way of accessing the sites configured facebook and twitter details? Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2014 Share Posted July 9, 2014 unfortunately, as long as variable is a part of external module - you can't use it in different part of shop in this case you have to customize controller (frontController) or module that displays elements in nav.tpl file (in displayNav hook) 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