How to create/modify theme? How to create/modify theme?
 

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

How to create/modify theme?

Started by nevermind, March 04, 2004, 06:31:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nevermind

for instance, how can I add a logo picture in the upper left corner of Fruity theme?


generally, how to create theme?

thanks!

Joachim Müller

this has been asked a thousand times and is in the documentation and faq as well. Next time, search first and post then.
Anyay: edit /themes/fruity/template.html

GauGau

bubs

"this has been asked a thousand times and is in the documentation and faq as well."


I think this has been asked thousands of times because like me there are many people using coppermine who are not that php/code savvy
I think a really detailed tutorial would be great. I do apprciate that this all takes time and you devs work extremely hard for us all but the fact that this question is asked thousands of times means that here is a real issue here.

I have spent all day trying to configure a theme but to no avail hence me looking though all these past questions to find some advice.

jmc

Hi, Bubs!
I get where you're coming from! It is frustrating getting started with all this stuff. I do, however, appreciate Gaugau's viewpoint too - this question IS asked over and over, and is not an easy one to answer. Each of the "stock" themes is very different in design and operation, so there is no standard way of doing it.
To get you started, the 3 main files you need to check and amend when editing a theme are the theme template.html file, the theme.php file and the theme.css file.
It is also very useful if you have some skill with a graphics package (PS or Fireworks etc). For example, the "Hardwired" theme : almost the entire graphical layout of this theme is made up of only 3 gifs, hw_01, _02 and _03 (top, middle and bottom). Simply replacing them with your own graphics will immediately change the whole picture for you! Then it's a simple case of editing the other image files (buttons and stuff) to suit, and editing the entries in the .css file where necessary to complete the customisation.
A guide to the cpg c.ss file can be found at //www.photoshoptutorials.org/samples/coppermine/styles.html
Hope this helps!
John Mc
I'm trying hard... at least!

bubs

Thanks for your help John, I will try your ideas tomorrow when my brain has been given a rest!!

I do have fireworks so i will try and use that, the problem is that i am using dreamweaver to edit the template.html but doing this you do not get to see the whole of the page layout unless it is uplaoded and u check it online (unless i am missing something which is probably the case)

anyway thanks

Joachim Müller