Archive for December 22nd, 2003

themed pop ups

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.

sweet air of christmas

2003 cards Thank you to all of you who sent me xmas cards!! They are very precious. Eve, the hellokitty card is so cute unfortunately the lazy postman folded the evenlop :( It really broken my heart. Sarah!! My card for you got returned. I emailed you for your address but you didn’t reply. So i used your old address from a card i got from you. ecila, you sent the card to my old address - where now andy’s brother lives. Email me for a new addy! Thanks sis for your gift! Yesterday I got a new hellokitty plush from andy’s mom.
 
my mermaid hk now has company!
Today i got some perl books from my professor. No they are not gifts. They are for me to engulf in over the winter break.
 
I’m going to write my own blog script in perl just to learn the language. It will be fun :)

Finally, my new toy! My dad gave me this 128mb mp3 player. My first! How exciting :)