1
draxan
Swich auto theme
  • 2005/5/17 14:05

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Hi
Anyone know how to change theme after login??
I mean I want to load different theme than on main page after any user log in.


Thx for help...

2
Mithrandir
Re: Swich auto theme

Custom block (PHP type), only visible to registered users, with this content:

$GLOBALS['xoopsConfig']['theme_set'] = "name_of_theme";


However, this will make it impossible to override the theme through the theme block or similar.

3
draxan
Re: Swich auto theme
  • 2005/5/25 10:35

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Thx for reply Mithrandir
but this is not work correct. I want to make same effect as when using a block Themes. In this block U must choose theme but I want to do this automatiacly after log in.

When I make a php custom block including your line my page change only in table style but not graphical.

So if you know how to do this I'll be very very grateful.

Have goooooooood day

Login

Who's Online

231 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 231


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