forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Cissy_F_M on October 01, 2004, 09:52:50 pm

Title: Help with Creating a Theme
Post by: Cissy_F_M on October 01, 2004, 09:52:50 pm
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.
Title: Re: Help with Creating a Theme
Post by: Joachim Müller on October 01, 2004, 10:00:28 pm
is the page you're refering to yours?

Joachim
Title: Re: Help with Creating a Theme
Post by: Casper on October 01, 2004, 10:04:07 pm
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.
Title: Re: Help with Creating a Theme
Post by: Nibbler on October 01, 2004, 10:22:37 pm
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.
Title: Re: Help with Creating a Theme
Post by: Cissy_F_M on October 01, 2004, 11:13:59 pm
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?
Title: Re: Help with Creating a Theme
Post by: 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.
Title: Re: Help with Creating a Theme
Post by: Casper on October 01, 2004, 11:21:11 pm
And you will need to keep the
Code: [Select]
<script type="text/javascript" src="scripts.js"></script>
Title: Re: Help with Creating a Theme
Post by: Cissy_F_M on October 01, 2004, 11:28:42 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.
Title: Re: Help with Creating a Theme
Post by: snork13 on October 01, 2004, 11:50:56 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
Title: Re: Help with Creating a Theme
Post by: Cissy_F_M on October 03, 2004, 07:32:54 pm
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.