Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th March 2013, 23:10
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default ISPConfig_Clean Theme Updated

All,

I have updated my theme that I did for 3.0.4.* to work with 3.0.5.*. I have also made some changes to make it cleaner. It is heavily based on the ISPConfig website, and I have pushed it out to GitHub.

GitHub Repo

I personally feel that it is a huge improvement over the current default theme.

Here are some pics of it.





Reply With Quote
The Following 4 Users Say Thank You to dclardy For This Useful Post:
florian030 (13th March 2013), MaddinXx (13th March 2013), till (13th March 2013), zenny (3rd December 2013)
Sponsored Links
  #2  
Old 13th March 2013, 17:26
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

I went ahead and changed the login form some. The change is reflected in the image above.

Now that you can make templates inside of the theme, it was super easy to do. Let me know any issues that you find. I will probably be moving this over to SASS/Compass in the next few weeks.
Reply With Quote
  #3  
Old 13th March 2013, 22:34
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 200
Thanks: 26
Thanked 65 Times in 48 Posts
Default

Theme is awesome! However, as long as the bug exists (you mentioned it within another topic (not saving setting)) I can't switch - but afterwards that's the way to go

Personally I'm not a fan of the new login screen... but this is just my thought

Thanks for this great work!
Reply With Quote
  #4  
Old 13th March 2013, 22:37
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

Quote:
Originally Posted by MaddinXx View Post
Theme is awesome! However, as long as the bug exists (you mentioned it within another topic (not saving setting)) I can't switch - but afterwards that's the way to go

Personally I'm not a fan of the new login screen... but this is just my thought

Thanks for this great work!
I will work on improving the login screen some. What do you not like about it? Too plain? I only spent about 10 minutes on it, and I am sure that I can make it better.

Or do you like the default style? I could just add the new parts to my theme. I was changing some core stuff, and I didn't want to write that all out. I think the new template stuff will allow me to make the change just in my theme. I'll test it out later.
Reply With Quote
  #5  
Old 14th March 2013, 17:52
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

Quote:
Originally Posted by MaddinXx View Post
Theme is awesome! However, as long as the bug exists (you mentioned it within another topic (not saving setting)) I can't switch - but afterwards that's the way to go
This issue has been solved. You can read about it in the other thread.

http://www.howtoforge.com/forums/showthread.php?t=60940
Reply With Quote
  #6  
Old 15th March 2013, 13:19
andypl andypl is offline
Member
 
Join Date: Mar 2006
Location: Warsaw, Poland
Posts: 96
Thanks: 1
Thanked 1 Time in 1 Post
Default

Warning on ISPConfig 3.0.5.1 file not found
Code:
Warning: include_once(/usr/local/ispconfig/interface/web/tools/lib/interface.d/tpl_ispc-clean.menu.php): failed to open stream: No such file or directory in /usr/local/ispconfig/interface/web/tools/lib/module.conf.php on line 35 Warning: include_once(): Failed opening '/usr/local/ispconfig/interface/web/tools/lib/interface.d/tpl_ispc-clean.menu.php' for inclusion (include_path='.:/usr/share/php') in /usr/local/ispconfig/interface/web/tools/lib/module.conf.php on line 35
Reply With Quote
  #7  
Old 15th March 2013, 19:52
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

I'll try to track that down.
Reply With Quote
  #8  
Old 17th March 2013, 06:28
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

@andypl That error is due to the coding of ISPConfig 3. I think there should be a check to see if the file exists before it tries to load it, but it is not doing that at this time.

I will create a bug in the tracker to get rid of it. Without it there, it is not an issue. It is checking for a theme configuration page that this theme will more than likely never have.

Bug Id: 2806
Thanks.

Last edited by dclardy; 17th March 2013 at 06:33. Reason: More Info
Reply With Quote
  #9  
Old 26th March 2013, 18:22
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

The fix that I provided was accepted from what I can see, but I think that the logic needs to be more complete.

For one thing, we should check to see if the file is in the theme. I don't think that we should have to place the file in the ISPConfig3 directories. Then, we should check for it in ISPConfig3 directory. If it doesn't exist, then we should include nothing.

Code:
if ( file_exists(ISPC_WEB_PATH.'/themes/' . $_SESSION['s']['user']['app_theme'] . '/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php')) {

	include_once(ISPC_WEB_PATH.'/themes/' . $_SESSION['s']['user']['app_theme'] . '/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php');

} elseif ( file_exists(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php')) {

	include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php');

} else { };
Reply With Quote
  #10  
Old 29th March 2013, 19:06
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 198
Thanks: 36
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
 
Default

After update ispconfig i get this error

The chosen theme is not compatible with the current ISPConfig version. Please check for a new version of the theme.
The default theme as been activated automatically.


thanks
__________________
You will only see if you get it...
ISPConfig is the future
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
Clamd.d not found setting up the Perfect Server (centos 6) deainfo.elisa Server Operation 10 9th December 2013 23:53
rkhunter and fail2ban logs not showing at ispconfig RioSif Installation/Configuration 10 21st February 2012 15:04
yum issues el-sid Installation/Configuration 4 10th August 2011 12:01
Mac4Lin ver.0.2 - Mac OS X Leopard Transformation pack infra_red_dude Desktop Operation 77 12th September 2010 23:21
Postfix problem vaio1 General 4 17th October 2007 11:27


All times are GMT +2. The time now is 11:24.


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