forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Deus on October 07, 2005, 09:03:43 pm

Title: Creating theme's from scratch
Post by: Deus on October 07, 2005, 09:03:43 pm
I dont know if this is going to be a good place to start learing about skinning, .css and .php but its a start.

Where to begin?
Do i need any programs? anything that helps formatting?
What are the rules?
do the rules change for different versions of CPG, PHPbb? etc.?

I'm not asking for a full tutorial, just some pointers

Thanks
Deus
Title: Re: Creating theme's from scratch
Post by: artistsinhawaii on October 07, 2005, 09:40:14 pm
Deus,

Your best source for any of these is the internet.  Just search for "How to CSS", "How to PHP" or CSS scripts and PHP scripts.

Your next best source is right at your fingertips.  Just compare the template and theme.php scripts of the themes that are included with coppermine.  That will give you a good idea of the layout and structure used.    Compare the CSS files and you will see how much of the CLASSES are common between themes and where the differences in the parameters change the appearance of the coppermine theme.

Dennis
Title: Re: Creating theme's from scratch
Post by: Deus on October 07, 2005, 09:59:33 pm
Cheers Dennis... i was wondering if anyone has good links, as some instrucations can be more confusing and conflicting than other... but my search has begun.

thanks again.
Title: Re: Creating theme's from scratch
Post by: artistsinhawaii on October 07, 2005, 10:45:33 pm
Cheers Dennis... i was wondering if anyone has good links, as some instrucations can be more confusing and conflicting than other... but my search has begun.

thanks again.

Deus,

I just realized that you are using 1.4x.  I.4x has good documentation on adapting 1.3x themes to 1.4. That will give you a good insight on how the version has changed and how to create themes without hacking the theme.inc.php file in the include folder.  Different themes have their own code blocks on display and menus, so it's a good start on learning code specific to Coppermine.

Dennis
Title: Re: Creating theme's from scratch
Post by: Deus on October 07, 2005, 11:02:45 pm
hmmm... that'll be what the docs folder is for then...DOH!

Thanks for the heads up.
Title: Re: Creating theme's from scratch
Post by: Joachim Müller on October 08, 2005, 07:15:10 am
please understand that cpg1.4.x goes unsupported.