Current time: 12-26-2024, 11:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
changing the theme
Author Message
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #1
changing the theme
Hello,

I'm trying to setup a diffrent theme for ispcp, but the USER_INITIAL_THEME value is not respected Sad ... i have tried following the code a little, i echoed what class.config.php reads and it looks ok, but seems that include/ispcp-lib.php is called , parses the configs and then replaces them by default values !

This is 1.0.0 upgraded from RC7 on debian etch ! build says its build: 20090225

if i change (hardcode) it in gui/include/ispcp-lib.php, it works !! any ideas ? (i couldnt find anything about it except an abandoned and very old thread here : http://www.isp-control.net/forum/thread-...TIAL_THEME )
05-13-2009 03:51 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: changing the theme
See table user_gui_props Wink
05-13-2009 04:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #3
RE: changing the theme
Thanks sci2tech,

well ... yes, some created users there are with omega_original theme, and others are with my custom theme , i changed <strike>a couple of them</strike> all of them , but trying to do :

echo $_SESSION['user_theme'].$_SESSION['user_theme'].Config::get('USER_INITIAL_THEME');

omega_originalomega_originalomega_original

thus USER_INITIAL_THEME seems to not to be read from the config file Sad ...
(This post was last modified: 05-13-2009 04:36 AM by uwe.)
05-13-2009 04:27 AM
Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #4
RE: changing the theme
i must add that the first thing im trying to change was the login theme ... so this property should not be related to a specific user ...
05-15-2009 06:20 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)