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 09-27-2010 19:25:47

UltimateHerbals
Member
Registered: 09-27-2010
Posts: 7

Email a Friend?

Hi,

How does one change the Display Skin for this process? I did not see an include but I did try to assign a different skin via the Namespace for both 'email a friend' entries.. but to no avail?

Offline

 

#2 09-28-2010 15:20:02

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: Email a Friend?

I have not verified this but because the email a friend namespace is called during the printing of the product display, I'm pretty sure your problem is that the core_display object has already assigned the skin to use. You cant use more than one skin on any single execution of CCP.


Latest CCP 7 XMods Available:


Offline

 

#3 09-28-2010 15:54:29

UltimateHerbals
Member
Registered: 09-27-2010
Posts: 7

Re: Email a Friend?

Thanks... what I am trying to do is pop the 'Email a Friend' up in a new window, and use a different skin for the pop up window. Any one have the clue to do this?

BTW vbsaltydog, going to buy your review MOD now!!! It looks hot!!

Billy

Offline

 

#4 09-28-2010 16:07:33

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: Email a Friend?

It doesnt work that way. A popup is almost always a new browser window with smaller window size settings launched via javascript and inside of the popup browser window is a new file loaded from a server vs. a piece of the existing page. The http protocol is stateless so you would have to execute a new instance of CCP and pass in the parameters from the current instance of CCP and print only the email a friend form and not the rest of the display. This is not at all elegant and would be problematic.

What you want to do is to load the email a friend form in an html capable lightbox.  You will stay on the current page but the lighbox will give the illusion of a "popup".


Latest CCP 7 XMods Available:


Offline

 

#5 09-28-2010 16:09:23

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: Email a Friend?

UltimateHerbals wrote:

Thanks... what I am trying to do is pop the 'Email a Friend' up in a new window, and use a different skin for the pop up window. Any one have the clue to do this?

BTW vbsaltydog, going to buy your review MOD now!!! It looks hot!!

Billy

I am about to add a video tutorial for the product reviews mod. The video will be live within the hour.


Latest CCP 7 XMods Available:


Offline

 

Board footer