Customizing the look of my gallery... Customizing the look of my gallery...
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Customizing the look of my gallery...

Started by avblue, December 21, 2004, 02:53:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

avblue

Hi.

I'm new to Coppermine.  I have everything set up, but I was wondering how I would go about customizing the gallery further than simply changing the colors of a classic template.  A good example of what I'm looking to do is here.  To do this, would I need to edit the template file and then just create the HTML codes that I would need to get the gallery to look like that and then insert the proper elements between { } later on?  Or is it more complex?  Please help!  Thanks.

donnoman

Only half of the html associated with a theme is in the template.html. The other half is sliced and diced inside of the theme.php.

It's not tough even for a PHP newbie to look at the templates inside of the theme.php and make changes. But you DO have to have a decent HTML background so that you can read/write HTML without a WYSIWYG editor.

I would suggest as a starting point get a theme that has the "bones" of what you want in your theme. Hardwired might be a good one to start with. But all of the contributed themes have made thier way onto the demo site so you can take a closer look at each one of them.

http://coppermine.sourceforge.net/demo/

Pick one you like, keep a backup, tweak small things until you get the hang of it.  

snork13

3 files you would edit:


template.html
theme.php
style.css

these files would be in the theme folder of the gallery within specific theme. i think the classis is a good theme to modify

i had a look at that sites source code, and they are using onmouseover style calls, not recommended. as some browers don't handle them correctly

donnoman