Jump to content
ClicShopping News Read more... ×
Sign in to follow this  
Patrick

Create a modal without header a footer

Recommended Posts

Hello,

 

I am trying to create a modal boostrap inside the admin but every time I have the header and the footer. Do you know how to make without the header and the footer.

 

Thank you

Share this post


Link to post
Share on other sites

Hello @Patrick

 

You have some example inside the administration,

look this file :

 

The most important is to use this syntax :

 

Without nothing

ClicShopping\Apps\Marketing\SEO\Sites\Shop\Pages\GoogleSitemap\Actions\GoogleSitemapSpecials.php

protected $use_site_template = false;

 

For modal

ClicShopping\Apps\Catalog\Suppliers\Sites\ClicShoppingAdmin\Pages\Home\Action\SuppliersPopUp.php

$this->page->setUseSiteTemplate(false); //don't display Header / Footer

 

  • Like 1
  • Thanks 2

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use