开发者

using iframe in prestashop

开发者 https://www.devze.com 2023-03-03 13:21 出处:网络
I want use an iframe popup in prestashop. If i include header.php, footer.php the header/footer comes in the iframe; which i dont want. but if i dont include them, it misses some useful functionalitie

I want use an iframe popup in prestashop. If i include header.php, footer.php the header/footer comes in the iframe; which i dont want. but if i dont include them, it misses some useful functionalities. so how can i solve thi开发者_如何学JAVAs?


You don't need to rewrite header.php and footer.php, you can simply use content_only var, take a look at cms.php for example.


This is the problem with prestashop, logic code and smarty code are in the same files.

I guess one possible solution would be to copy header.php and footer.php file and comment $smarty->display lines, and then include your header_frame.php file for example.

This is quite a hack but that's the only solution i see for the moment.

0

精彩评论

暂无评论...
验证码 换一张
取 消