forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: avblue on December 21, 2004, 02:53:09 am
-
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 (http://www.lindsayimages.com/). 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.
-
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.
-
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
-
Read the sticky threads in the themes/skins/templates board to get started.
http://forum.coppermine-gallery.net/index.php?board=26.0