monkeytooth Posted November 24, 2008 Share Posted November 24, 2008 This is an odd question, I think its possible to some means or another but to what exent im not sure. How would I if possible... What I am trying to do is have a template choice 9 diffrent color schemes, Im stuck on this when i shouldnt be and I cant be so someone help lol.. Right now I am tempting to run them session based if session isnt set then a default is choosen. Anyway I am using links to make the changes via post/get.. what I am getting stuck on is seeing the the links to change the template are literally dynamically placed so they can be everywhere on the site at once, When a user clicks one its either goto a defualt page for a redirect or sit there doing nothing, I want them to land back on the page they were sitting on prior to clicking the theme link.. through URI or something? I dunno.. any ideas? Link to comment https://forums.phpfreaks.com/topic/134036-solved-reloading-the-page-to-the-same-exact-page/ Share on other sites More sharing options...
Gighalen Posted November 24, 2008 Share Posted November 24, 2008 You can do it via CSS and have the template load the CSS file based on what variable $template is set in your session. Link to comment https://forums.phpfreaks.com/topic/134036-solved-reloading-the-page-to-the-same-exact-page/#findComment-697686 Share on other sites More sharing options...
monkeytooth Posted November 24, 2008 Author Share Posted November 24, 2008 thank ya.. however i ended up toying with it realized i forgot to change a var around to recognize a session if set and now it works perfectly.. I would go a css route if I could ever manage to layout divs better for a template with the use of CSS but it just never works for me.. so the only time im using css really is when removing margins, handling fonts etc.. the generic stuff.. thanks again though. Link to comment https://forums.phpfreaks.com/topic/134036-solved-reloading-the-page-to-the-same-exact-page/#findComment-697704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.