Jump to content

Backend iFrame


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...