bubs from bubblessoc.net asked me this question. I thought i’d share the answer.
“How do you get your popups (ie: xchange) to match the current theme? Is it complicated coding or something you wrote yourself?”
This can be done regardless what theme script you are using. Usually your theme/skin script has a cookie variable. In my script, it’s $css, in some other scripts it could be $newskin. For my exchange popup, i made different popupheader.php and popupfooter.php in different theme folders. Then you include the header and footer in the popup page the same way you do for other pages.
For example for my “love” theme, I made
lovepopupheader.php
&
lovepopupfooter.php
in my themes/love folder
in my x.php
i just put
include($DOCUMENT_ROOT.”themes/$css/”.$css.”popupheader.php”);
&
include($DOCUMENT_ROOT.”themes/$css/”.$css.”popupfooter.php”);
Then the x.php file will change with different themes.
Thank you so very much! As soon as I get finished cleaning the house 😛 Im gonna give it a shot 😀 Hope you have a wonderful Christmas!
It worked 😀 Thanks again!!!