We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

PHP Skinning

Development and Programming

NikiW's avatar
NikiW
36 posts
15 years ago
NikiW's avatar NikiW

In v.1.6.3 I had PHP skinning running fine.

Upgraded to 2.1.0 and the same code is not working. I have compared it against a back up copy of the file structure from my old version, but I suspect I may be missing some code as I did not have copies of my old templates before I started making other changes for the conversion to 2.1.0. Either that, or the skinning code I had from before simply isn’t going to work in this version of EE and I really don’t know why. I am not a PHP coder so I am only going by what worked before, so I don’t understand WHY it is not working anymore.

It uses four files - cookiecheck.php, skin.php (contains the javascript onChange code), changeskin.php (which skin.php references, and with the exception of the bottom of each, is nearly identical to cookiecheck.php), and reset.php, which I presume clears the cookie and sets it all to the default skin (and is referenced in the onChange form in skin.php).

I’ll have to note the structure of these later if it’s needed, as I need to get headed to work.

On the surface, even though I don’t fully understand PHP, it seems like it should be pretty simple stuff, so I’m not sure why it’s failing. Anyone with PHP foo have any ideas? I can also post the code later if it’s needed.

Thanks.

       
NikiW's avatar
NikiW
36 posts
15 years ago
NikiW's avatar NikiW

My husband helped me do some troubleshooting on it, and it seems like the setcookie code is out of date, so is no longer functioning.

Time to pick up a book and learn some PHP.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.