zimmer-media Posted March 21, 2018 Share Posted March 21, 2018 @Nemo module "Ask a question" works with tb 1.0.3 http://store.nemops.com/free-modules/32-ask-a-question.html#.WrLdsHARb for themes with tabs i changed the / modules / prestaqna / prestaqna.php it is not perfect with tabs, but at the moment i changed ``` public function hookProductTab($params) { if(versioncompare(PSVERSION, '1.6', '<')) return $this->display(FILE, 'prestaqna_tab.tpl'); } to public function hookProductTab($params) { if(versioncompare(PSVERSION, '2.6', '<')) return $this->display(FILE, 'prestaqna_tab.tpl'); } and this if(versioncompare(PSVERSION, '1.6', '>')) return $this->display(FILE, 'prestaqnatabcontent.tpl'); else return $this->display(FILE, 'prestaqnatabcontent15.tpl'); to if(versioncompare(PSVERSION, '2.6', '>')) return $this->display(FILE, 'prestaqnatabcontent.tpl'); else return $this->display(FILE, 'prestaqnatabcontent15.tpl'); ``` result Link to comment Share on other sites More sharing options...
Pedalman Posted March 22, 2018 Share Posted March 22, 2018 In the file is another occurence of 1.6 - may be this should be changed to 2.6 , too? Link to comment Share on other sites More sharing options...
zimmer-media Posted March 22, 2018 Author Share Posted March 22, 2018 I only changed these two because they are related to the tab function. 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