1
melsen
Change themes depending on the block you navigate in.
  • 2005/11/10 18:27

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


So... here's what I was thinking....

I'm setting up a multigaming guild website.

For each various game, I'd like to have a seperate template/skin.

So, I was wondering.. isn't it possible in one way or another, to set a piece of code into a block that checks if one of the links are clicked, and if they are, then before that page is displayed, the template used on the site is changed?

That has to be possible in one way or another since the theme selector pretty much do that on the fly.

Could someone give me an example on a piece of code in a block that contains hyperlinks to content pages, AND changes the template on the site.

There naturally have to be a check to see if the template you wish you change to is already applied... no need to change it every time you click on a link.

I really hope someone can help me with this.

Thank you.
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

2
melsen
Re: Change themes depending on the block you navigate in.
  • 2005/11/11 7:22

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


.... I'd still very much like to get an answer to this if anyone could help me.
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

3
melsen
Re: Change themes depending on the block you navigate in.
  • 2005/11/12 18:52

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


/bump.... still need some help with this.
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

4
LazyBadger
Re: Change themes depending on the block you navigate in.

1. You are unable to ask correct form of question
2. You didn't tried to learn theme's ideology and structure
3. You didn't check avaliable global smarty-variables

Information "from which block" (and even "from which page") is useless... you have to handle target (module or page, it depends from which type of detalisation you want to get).
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

5
melsen
Re: Change themes depending on the block you navigate in.
  • 2005/11/13 7:49

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


1) English isn't my first language and I'm no expert with Xoops.. still learning... so to defend the way the question was asked.. I phrased it as well as I could.

2) huh?

3) huh?
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

Login

Who's Online

283 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 283


more...

Donat-O-Meter

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

Latest GitHub Commits