Harsh.daffodil Posted February 19, 2014 Share Posted February 19, 2014 How to receive array from php file in ajax in tpl file? Link to comment Share on other sites More sharing options...
vekia Posted February 19, 2014 Share Posted February 19, 2014 you have to use jqeury ajax functions, you can use it and get results of php file to your js and then to page dom elements 1 Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 20, 2014 Author Share Posted February 20, 2014 Thanks and how to store var from javascript to smarty Link to comment Share on other sites More sharing options...
vekia Posted February 20, 2014 Share Posted February 20, 2014 ajax doesn't work like that, you have to call php file, then in output you can "compile" smarty template file. check how block cart module works Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 21, 2014 Author Share Posted February 21, 2014 Thank you it worked for me Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 25, 2014 Author Share Posted February 25, 2014 (edited) how to change jquery to 1.8.3 in Header file in running theme? Edited February 25, 2014 by Harsh.daffodil (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 25, 2014 Share Posted February 25, 2014 just replace jquery files in your theme, or just include new library and run it with noConflict() function Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 25, 2014 Author Share Posted February 25, 2014 thanks. And is Mysql the only db supported by prestashop? Link to comment Share on other sites More sharing options...
vekia Posted February 25, 2014 Share Posted February 25, 2014 yes, prestashop supports only MySQL 1 Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 26, 2014 Author Share Posted February 26, 2014 What if i want to use another database? Link to comment Share on other sites More sharing options...
vekia Posted February 26, 2014 Share Posted February 26, 2014 you have to rebuild entire prestashop core it uses queries strictly based on mysql database in some cases you will have to change them to support your db system syntax there are little differencies between mysql and other db systems, for example postgreSQL (btw. this is my favourite db system) check this, for example: http://www.interdb.jp/techinfo/prestashop/study01.html Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 26, 2014 Author Share Posted February 26, 2014 Thank for information. And please tell me only we require to change only db related queries or the whole core prestashop Link to comment Share on other sites More sharing options...
vekia Posted February 26, 2014 Share Posted February 26, 2014 as far as i know - only queries Link to comment Share on other sites More sharing options...
Harsh.daffodil Posted February 27, 2014 Author Share Posted February 27, 2014 Thanks 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