Chrims Posted May 15, 2015 Share Posted May 15, 2015 Hello, i'm working on a importer modul. I Need a iframe in my ModulAdminController. When i call an iframe like : <iframe src="$link->getAdminLink('MyControllerName')" style="width:500px;height:500px;"></iframe> The iframe is just empty. The src ist correct. Is there any way i can just call a single controller (without prestashop backend surrounding) to my iframe? Background information: I want to import a large file line per line. To avoid an overload, i want to reload an iframe with a progressbar in it. index.php?controller=AdminImporter&token=...&line=1 index.php?controller=AdminImporter&token=...&line=2 index.php?controller=AdminImporter&token=...&line=3 ... index.php?controller=AdminImporter&token=...&line=1000 And so on... :-D Thaaanks, Chrims Link to comment Share on other sites More sharing options...
Chrims Posted May 15, 2015 Author Share Posted May 15, 2015 public function __construct() { $this->display_header = false; //hides header; $this->display_footer = false; // hides footer; } That works, but unfortonatly when i call my AdminController i need to login once again... 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