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: Can't see new theme images :(  (Read 3837 times)

0 Members and 1 Guest are viewing this topic.

penelope79

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Can't see new theme images :(
« on: January 18, 2005, 08:09:52 pm »

I wanted to realize an almost new theme starting from the "graphix" theme. I have followed the instructions of the "creating a skin" topic and I used TopStyle Pro to customize the template.html and the style.css instead of Dreamweaver that I usually use. I have created new images with the same values and names of those of "graphix" theme and I have saved the images, the template and the style files in a new folder, included the theme.php file that I didn't modified. Once finished the new theme folder, I have uploaded it in the coppermine/theme/ directory of my webserver. But when I try to see it through http://yourdomain.tld/your_coppermine/folder/?theme=your_theme_name I only see the page without the images, while if I try to select the new theme from the config menu I always see the classic theme... what I did wrong?? ???
« Last Edit: January 19, 2005, 04:00:07 am by kegobeer »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Can't see new theme images :(
« Reply #1 on: January 18, 2005, 08:17:43 pm »

Where in the theme did you put these images.  Did you keep the same structure.
Is the theme named the same as the one it replaced 'graphix'.

A real link instead of the 'http://yourdomain.tld/your_coppermine/folder/?theme=your_theme_name' would also help.
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

penelope79

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Can't see new theme images :(
« Reply #2 on: January 18, 2005, 08:40:57 pm »

In my theme folder I have another folder called "images" where I have put the images. I have kept the same structure and the new theme is called "umatheme" as it's a gallery for a Uma Thurman fansite. This is the link http://umaonline.fan-wire.com/coppermine/?theme=umatheme
Logged

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
Re: Can't see new theme images :(
« Reply #3 on: January 18, 2005, 09:15:40 pm »

Hi, Penelope.
The links for your images are pointing to the coppermine/images folder, and not the coppermine/themes/umatheme/images folder. Your html editor has probably set the link incorrectly (I know Dreamweaver tends to do this). Edit the refs in your template.html file manually to point to themes/umatheme/images/ and you should be good to go!
John Mc
Logged
I'm trying hard... at least!

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Can't see new theme images :(
« Reply #4 on: January 18, 2005, 10:34:51 pm »

And make sure you change them in the theme.php as well.

Also your template is not pointing to the style.css correctly.

You have this;

Quote
<link rel="stylesheet" href="style.css" />

It should be this;

Quote
<link rel="stylesheet" type="text/css" href="themes/umatheme/style.css" />
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

penelope79

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Can't see new theme images :(
« Reply #5 on: January 18, 2005, 10:42:16 pm »

Thank you very much, guys!!!  ;D Now it finally works!!!!!!! :D
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.