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 24th April 2012, 15:13
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default Creating a Theme

So I have started creating a theme for ISPConfig, but I am a little lost as to how you change the default theme for the entire installation. When I login, I get to my new theme, but I want to see that in the login screen as well.

Is that possible?
Reply With Quote
Sponsored Links
  #2  
Old 24th April 2012, 15:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

The default theme is set in the ispconfig configuration file:

/usr/local/ispconfig/interface/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th April 2012, 17:42
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

Thanks. Is there anyway to not have the top menu/header show up on the main page?
Reply With Quote
  #4  
Old 24th April 2012, 18:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Quote:
Originally Posted by dclardy View Post
Thanks. Is there anyway to not have the top menu/header show up on the main page?
No. The front page is always the complete page, just with different menus.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 24th April 2012, 20:10
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

Thanks, till.

Here is the theme that I came up with. I did not do that much different. I just changed some stylings and swapped out some icons.





You just have to place it in /usr/local/ispconfig/interface/web/themes.

To make it the default, you have to do what Till said earlier.

Read post below.

Last edited by dclardy; 25th April 2012 at 19:40.
Reply With Quote
The Following 4 Users Say Thank You to dclardy For This Useful Post:
falko (25th April 2012), nokia80 (29th April 2012), till (24th April 2012), todx (26th April 2012)
  #6  
Old 25th April 2012, 18:15
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

To help me out some, I moved this over to a GitHub Repo. This will help me save some bandwidth on my server. I am note expecting this to be a huge download, but you never know.

Here is the location of the repo:

https://github.com/dclardy64/ISPConfig_Clean
Reply With Quote
The Following User Says Thank You to dclardy For This Useful Post:
todx (26th April 2012)
  #7  
Old 26th April 2012, 16:14
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

Till,

Is it possible to throw body classes into the templates? So if they are logging in, the body class would be login and if not it would not contain that class? I am trying to look through the template files, but I am not seeing a way to do this. I think this is because I have limited knowledge of php.

Last edited by dclardy; 26th April 2012 at 16:56.
Reply With Quote
  #8  
Old 29th April 2012, 15:10
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 183
Thanks: 30
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
Default

i have download the theme but everything is white something whit owner ship i think?
__________________
You will only see if you get it...
ISPConfig is the future
Reply With Quote
  #9  
Old 29th April 2012, 15:25
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

Did you keep the same folder name? If you change it, it will break it. The latest version from Github works fine. I am using it at https://server.clardyhost.com:8080
Reply With Quote
  #10  
Old 29th April 2012, 16:05
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 183
Thanks: 30
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
 
Default

is this the folder name dclardy64-ISPConfig_Clean-e8ad70c?

look http://ns2.webhd.nl:8080/index.php
__________________
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
Creating a Theme for ISPConfig smartyscripts Tips/Tricks/Mods 54 9th May 2014 14:31
Dovecot v2 with ISPConfig 3 CSsab Installation/Configuration 13 13th September 2012 19:01
Creating a theme for ISPConfig Interface dclardy General 1 22nd November 2009 14:35
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46


All times are GMT +2. The time now is 02:20.


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