#1  
Old 6th June 2010, 02:55
maced0n maced0n is offline
Junior Member
 
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
Default Themes

Is there any reference about creating custom themes/skins?
__________________
webdesignplus.mk
Reply With Quote
Sponsored Links
  #2  
Old 7th June 2010, 10:12
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

No, but I do intend writing some guidance. I'm still a bit new to ISPConfig so don't think I'm quite ready.

But here's some hints to begin with:

For a start, my recommendation is to avoid trying to write one from scratch. Evolve your new theme from the existing default theme.

Certain pages like the login page are hard-coded to use the 'default' theme.
I recommend renaming the default theme to 'original' and then creating a symbolic link from 'default' to original.

Then when you have a theme you'd like to use in place of the default theme, you just need to change the symbolic link. For some sites you may want to select 'original', or your new theme or 'default' which will point to wherever the symbolic link is linked.

To create your new theme, copy the default them (now named 'original'?) to form the base of your new theme. I would also recommend deleting the icons and yaml folders from your new theme and replacing them with symbolic links to the appropriate folders in the original theme. You are unlikely to need to change the contents of those two folders.

so in code...
Code:
cd /usr/local/ispconfig/interface/web/themes/
mv default original
ln -s original default
cp -r original mytheme
cd mytheme 
rm -rf yaml
rm -rf icons
ln -s ../original/yaml yaml
ln -s ../original/icons icons
When making changes don't forget that Firebug is your friend!
(Lets you practice css changes on a live site).

Last edited by mike_p; 8th June 2010 at 01:10.
Reply With Quote
The Following 4 Users Say Thank You to mike_p For This Useful Post:
falko (8th June 2010), finn (8th July 2010), maced0n (7th June 2010), till (7th June 2010)
  #3  
Old 10th June 2010, 19:20
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
 
Default Attention svn version ist different

Attention.
The "new" Template handling (implemented in SVN) only needs the file YOU change. So you don't have to copy all files from default to your template.

BUT: DO NOT USE SVN IN PRODUCTIVE ENVIRONMENT!
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
The Following User Says Thank You to vogelor For This Useful Post:
till (10th June 2010)
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
Themes section mike_p Forum Suggestions 0 27th April 2010 11:50
Fedora 11 - new user & help with guide on best desktop & compiz as well as themes? virtuallynothere HOWTO-Related Questions 1 1st October 2009 18:09
Fedora 11 - themes & dock & especially help getting them setup? virtuallynothere Desktop Operation 0 30th September 2009 20:24
how to: themes tedeu Installation/Configuration 13 27th May 2009 20:22
Themes adamluz Feature Requests 0 19th October 2005 00:55


All times are GMT +2. The time now is 00:42.


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