Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th March 2010, 12:59
martijn martijn is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Themes not working.

Using the latest ISPConfig 3.0.2, and copied the default theme to another :


Code:
cp -rpf /usr/local/ispconfig/interface/web/themes/default /usr/local/ispconfig/interface/web/themes/mytheme
checked the perms again, even after a complete cachedump and actually another browser the pulldown "Theme" isnt working when creating or editing users. It only shows the default.

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 17th March 2010, 08:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,561
Thanks: 791
Thanked 4,978 Times in 3,899 Posts
Default

I will check that. We have not changed that code from 3.0.2.6 to 3.2
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th March 2010, 14:07
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 139
Thanks: 46
Thanked 9 Times in 9 Posts
Default

I can remember I had also this sort of problem on the 3.0.1.6 version.
Finally, I changed the default theme directly.
Reply With Quote
  #4  
Old 25th March 2010, 19:25
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 139
Thanks: 46
Thanked 9 Times in 9 Posts
Default

Did you have time to see this problem ?
I can see that on the 3.0.2 version, I have the same problem...

(is there a bug track about that or may I add one ?)
Reply With Quote
  #5  
Old 25th March 2010, 20:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,561
Thanks: 791
Thanked 4,978 Times in 3,899 Posts
Default

THis has already been fixed, please see release notes of ISPConfig 3.0.2.1.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 25th March 2010, 21:18
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 139
Thanks: 46
Thanked 9 Times in 9 Posts
Default

Arf... This is already the version I have !
When I change the theme in the user configuration, nothing changes ...
I've verified the rights, also, a "diff -r" on the two theme folders show me the differents...

Is there something I have forgotten ?
Reply With Quote
  #7  
Old 27th March 2010, 00:09
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

Yeah I noticed this problem with 3.0.2 and checked the forums knowing others most likely had the same issue.

I know you can configure per user in the settings and there's also the interface config.inc.php which states the "default" theme.
I'm yet to install 3.0.2.1 but got issues now as my ispc3 code has hacks and need to diff out my changes

@Till: Maybe a themes site/page should be made for contributions, i'm sure there's quite a few artists out there. I'm missing my likings of icons in theses so I'm writing my own *cough cough* template. :P
__________________
www.emperor-it.com for ISPConfig mods/hacks
Reply With Quote
  #8  
Old 1st April 2010, 12:04
mike_p mike_p is offline
Senior Member
 
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
Default

I'm new to ISPconfig so excuse me if I appear inept!

I too am having problems with themes not working. I am using version 3.0.2.1.
I have discovered that there are two particular problems:

1/ In the file "default/templates/main.tpl.htm" the default theme is hardcoded into the header, so 'default' need to be replaced with '{tmpl_var name="theme"}'

2/ the variable does not always get correctly set to the alternative template?

Within the database there are two fields that appear to have relevance: in the sys_user table there is the app_theme field and in the client table there is the 'usertheme' field. The client settings page sets the field in the client table.

Having set and reset the theme in the client settings, and having made the changes to main.tpl.htm, it now seems to work. (Don't forget to make changes to any copies of main.tpl.htm in your own themes!))

Last edited by mike_p; 1st April 2010 at 12:08. Reason: typos
Reply With Quote
  #9  
Old 2nd April 2010, 03:08
bajodel bajodel is offline
Member
 
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
Default

if confirmed.. you better should insert this on the bugtracker..
http://bugtracker.ispconfig.org/

bye..

bajodel
Reply With Quote
  #10  
Old 11th April 2010, 01:46
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
 
Default

I have found another hard coded theme 'default' in the error message

"/usr/local/ispconfig/interface/lib/app.inc.php"
public function error($msg, $next_link = '', $stop = true, $priority = 1)
.
.
.
$msg = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../themes/default/css/central.css" rel="stylesheet" type="text/css" />

this causes havoc when I get an error. I didnt notice this until I switched user who had a limit and I tried to create a new site and the error appeared. Most of the template came out fine but my tabbed menus which is styled differently to the default went wonkers.

I tracked it to this method but when I tried to change it to use $this->_conf['theme'], it too says default yet $_SESSION['s']['theme'] says my theme name (go figure, same session).

I can't find this or the other mentioned hardcoded theme raised in the ticket? Was it done?
__________________
www.emperor-it.com for ISPConfig mods/hacks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiviews not working Stown Installation/Configuration 18 3rd October 2009 10:05
Fedora 11 - themes & dock & especially help getting them setup? virtuallynothere Desktop Operation 0 30th September 2009 19:24
fail2ban not working linuxwannabe Installation/Configuration 1 25th January 2009 06:09
DNS stop working MZH General 3 22nd February 2008 11:10
ftp not working pesja Installation/Configuration 3 17th July 2006 12:37


All times are GMT +2. The time now is 09:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.