Advanced search  

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

Pages: [1]   Go Down

Author Topic: Help with Creating a Theme  (Read 5446 times)

0 Members and 1 Guest are viewing this topic.

Cissy_F_M

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Help with Creating a Theme
« 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help with Creating a Theme
« Reply #1 on: October 01, 2004, 10:00:28 pm »

is the page you're refering to yours?

Joachim
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Help with Creating a Theme
« Reply #2 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.
Logged
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

  • Guest
Re: Help with Creating a Theme
« Reply #3 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.
Logged

Cissy_F_M

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with Creating a Theme
« Reply #4 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?
Logged

Nibbler

  • Guest
Re: Help with Creating a Theme
« Reply #5 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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Help with Creating a Theme
« Reply #6 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>
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with Creating a Theme
« Reply #7 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.
Logged

snork13

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 260
  • Internet! Is that thing still around?
    • Gallery
Re: Help with Creating a Theme
« Reply #8 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
Logged

Cissy_F_M

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with Creating a Theme
« Reply #9 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.