Help with Creating a Theme Help with Creating a 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

Help with Creating a Theme

Started by Cissy_F_M, October 01, 2004, 09:52:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cissy_F_M

I have seen already a post here about it but it didn't helped me much.

I guess what I want is quite simple, but I can't get it done.
It's the following, I want to create a theme from a custom template, I don't want to make changes on an existing theme, like logos or background.

What I want can be seen in here
http://www.rivasergio1962.com/nuovosito/trimmings/imagegallery/
This site is a coppermine gallery.

I don't understand how to get the template.html file changed.

Joachim Müller

is the page you're refering to yours?

Joachim

Casper

Well, first, that site has done exactly what you say you don't want to do.  it is using the hardwired theme, modified to what they want.


And please reply to Gaugaus question.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

You can see any site's template.html in your browser, just have a look at it - http://www.rivasergio1962.com/nuovosito/trimmings/imagegallery/themes/hardwired/template.html. Note this gallery appears to have coppermine installed illegally.

Cissy_F_M

This is not the page I want to use, I was just showing an example.

I'm a webdesigner currently working on two projects (none of them are online yet). I have to create galleries for both, using the coppermine script and the site's template. Meaning that I have to create a theme for the gallery with the templates from the sites.

I tried to change but I got the following error message:
Coppermine critical error:
Unable to load template file template.html!

I'm not succeeding on changing the template.html file. Can you please explain me how to do it?

Nibbler

Just strip out all the html code, leaving just the tags in {} and then build the design up around them.

Casper

And you will need to keep the
<script type="text/javascript" src="scripts.js"></script>

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Cissy_F_M

Quote from: Nibbler on October 01, 2004, 11:18:07 PM
Just strip out all the html code, leaving just the tags in {} and then build the design up around them.

I did exactly this and the result was a blank page with the tags in {} written on the screen.

snork13

Quote from: Cissy_F_M on October 01, 2004, 11:28:42 PM
Quote from: Nibbler on October 01, 2004, 11:18:07 PM
Just strip out all the html code, leaving just the tags in {} and then build the design up around them.

I did exactly this and the result was a blank page with the tags in {} written on the screen.

maybe we can get a view of the code ??? might help to correct the problem. you will also need to make css, theme changes to get the effects you wish...

please leave the "Powered by Coppermine Photo Gallery" intact. ;D

Once I see your code I can help with some tips.

snork

Cissy_F_M

Ok, now I succeed on creating the theme.
In fact succeed is not the correct word.
I finally could edit the file template.html as my site template, but now I guess I have a problem on editing the gallery.
First, what appears is a mess. The files from the template are mixed and when I load the site it doesn't appear correctly.
And also, I don't know how to make to appear only what I want. Or it appears the whole gallery or nothing. How can I edit the gallery in order to make it fit on the template? I want to make changes on the gallery according to the template, not to make changes on the template according the gallery.