mynamesStephanie Posted September 18, 2012 Share Posted September 18, 2012 Hi all, How to add php code in cms content or page? Link to comment Share on other sites More sharing options...
math_php Posted September 18, 2012 Share Posted September 18, 2012 Hi you, Several possibilities : - simpliest : put an iframe in your cms content and link it to your php file - make an override of a controller - modify prestashop code (bad idea) And to conclude : it really depends on what you want to do. Cheers Link to comment Share on other sites More sharing options...
mynamesStephanie Posted September 18, 2012 Author Share Posted September 18, 2012 Hi Math_php Thank you for your quick reply..and what do you mean by iframe? and can you provide me the dir. of content of cms? i really have no idea from this. Link to comment Share on other sites More sharing options...
math_php Posted September 18, 2012 Share Posted September 18, 2012 You do not know what an iframe is and you want to add php code !? An iframe is an 'inner page' opened by html tag <iframe src="... Cms folder will not be helpfull, your server will not try to excute php in a cms content because cms content file is not a .php file. Link to comment Share on other sites More sharing options...
mynamesStephanie Posted September 18, 2012 Author Share Posted September 18, 2012 Got it.. Thanks a lot math.. 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