1
yingzhao
dynamicly switch theme
  • 2010/2/2 15:55

  • yingzhao

  • Just popping in

  • Posts: 45

  • Since: 2008/5/12


Hi all,

Is it possible to present user with a single unique theme based on the value $_SERVER['HTTP_REFERER']? What I want to achieve here is to be able to present a look & feel for my XOOPS site similar to that of the web site that my XOOPS site is linked with. Could anyone give some suggestion how to do so? Thank you.

2
ghia
Re: dynamicly switch theme
  • 2010/2/2 19:18

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes, if the value of the referrer matches, do a redirect to the current requested URL with xoops_theme_select=mytheme added to the query.

Login

Who's Online

236 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits