Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-03-2017 13:30:10

LadyHLG
Member
Registered: 11-30-2010
Posts: 46

Duplicate ProdShow without Skinning

I've created a new namespace based on ProdShow along with a new include. I am able to call the namespace and display the product, but I am wonder if it would be possible to do this without skin. I'm trying to create a lightbox popup of the product info without the menus, headers, footers etc. Just the product data that we can rearrange as needed.

Or is this something that could be handled as a Skin Widget?

LadyHLG

Last edited by LadyHLG (04-03-2017 13:48:02)

Offline

 

#2 04-04-2017 09:02:03

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Duplicate ProdShow without Skinning

In your new include, add:

Code:

$this->globals('core_display.suppress_skin',1);

You will be responsible for the whole display at that point.  When you realize that all the CSS and JavaScript are not loading, look at your skin.php file and start copying stuff into your include.


Nick Hendler

Offline

 

#3 04-04-2017 09:11:43

LadyHLG
Member
Registered: 11-30-2010
Posts: 46

Re: Duplicate ProdShow without Skinning

Thanks for the reply Nick!

Was just about to post with my solution.
I created a new skin specifically for the lightbox and called that with

$this->globals('core_display.skin',"LBSKIN");


Seems to be working perfectly.

Thanks again for the reply, I knew there had to be a way to suppress the skin, will keep this in mind for future.

LadyHLG

Offline

 

Board footer