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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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