brandonc503 Posted October 1, 2013 Share Posted October 1, 2013 (edited) I'd like to include a .tpl file from another domain into the home tab of the back office. I think I will have to insert code into a .php admin controller then in the home/content.tpl. What I want to achive is having a menu.tpl file I can include into several prestashops at different domains. Edited October 1, 2013 by brandonc503 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 1, 2013 Share Posted October 1, 2013 with smarty it isn't possible to include .tpl file from another domain. your file must be in the same domain Link to comment Share on other sites More sharing options...
brandonc503 Posted October 1, 2013 Author Share Posted October 1, 2013 is it possible another way? Link to comment Share on other sites More sharing options...
Umar Akram Posted October 7, 2013 Share Posted October 7, 2013 No it is not possible..it's only possible if tpl file in same domain. Link to comment Share on other sites More sharing options...
vekia Posted October 7, 2013 Share Posted October 7, 2013 that's right, you can only "download" contents of external file (for example via get_contents / cURL php functions) and then - display it with some echo etc. 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