The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Off-Topic (https://www.pokecommunity.com/forumdisplay.php?f=23)
-   -   I Need A Code (https://www.pokecommunity.com/showthread.php?t=28138)

Koriaku January 16th, 2005 6:51 PM

I Need A Code
 
Can Someone Tell Me The Code For A Layout Changer

Trikip January 16th, 2005 7:09 PM

There's no code, you just give a link to the other layout lol.

Kipkip January 16th, 2005 7:39 PM

This goes in reasources and you need to explain more on what you need before I can help you.
*~moves

Geometric-sama January 18th, 2005 8:51 PM

Are your layouts actually different PHP files or simply different CSS files? The code's different for each.

Koriaku January 21st, 2005 4:40 PM

they are
different php files

Geometric-sama January 27th, 2005 4:26 AM

Then you simply give a link to the other PHP file. Just read $id or whatever your variable for the page is from the current page, and write the link to the other .php file including that variable.

eg. You're on layout1.php?id=page2
and you want to switch to layout 2.

So you read $id from the current page and output a link to
layout2.php?id=page2, because page2 is your $id.

Need the code?


All times are GMT -8. The time now is 5:28 PM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.