new theme not properly working new theme not properly working
 

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

Main Menu

new theme not properly working

Started by charlie_lab, December 28, 2006, 02:45:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charlie_lab

Hello,

I try to make this layout (http://www.tamarawobben.nl) for my gallery.
But now its looks like nothing happens.
You can see it  at : http://www.tamarawobben.nl/?theme=tamara.

Whats'went wrong here ?

Regards,

Roelof

Joachim Müller

Not sure what mess you caused: if you specify a theme named "tamara", you're suppossed to have a folder structure within the folder your gallery resides in that looks like this: themes/tamara/. However, there's no folder http://www.tamarawobben.nl/themes/tamara/ although this should be the case if coppermine resides inside the webroot. Apparently, you have set up some strange folder structure, as your theme apperas to reside in http://www.tamarawobben.nl/templates/tamara/
Anyway, in your custom theme you specified the stylesheet to reside in http://www.tamarawobben.nl/templates/tamara/css/template_css.css, which doesn't exist. Imo you just messed up your paths.
Here's my suggestions: zip your custom theme folder and attach it to your posting (using "additional options" when composing your message). It should be quite easy to correct improper paths.

Joachim

charlie_lab

Oke,

It is correct that there is no themes dir on http://www.tamarawobben.nl.
The gallery exists on http://www.tamarawobben.nl/gallery2

Therefore you can see it at http://www.tamarawobben.nl/gallery2/?theme=tamara

But here you have the zip-file who doesn't work as a zip-file.

Regards,

Roelof

Joachim Müller

You have an absolute path in the line that is suppossed to point to your stylesheet that is just wrong. Edit themes/tamara/template.html, find<link rel="stylesheet" href="/themes/tamara/style.css" type="text/css"/>and replace with<link rel="stylesheet" href="themes/tamara/style.css" type="text/css" />

However, you have some other flaws in your template file (most of them being improper HTML markup like double tags, but also missing Coppermine placeholder tokens). Removing all menu options is not an option either. Additionally, you have copied the entire theme.php file from the sample theme over, which is just wrong as well. I fixed this for you.

Use the theme I attached instead of yours.

charlie_lab

Thank you,

It working except the background-images are not visible.


Roelof

charlie_lab

the backgrounds are now working  :)

But when i select a picture the layout is not good.
See :
http://www.tamarawobben.nl/gallery2/displayimage.php?album=random&cat=0&pos=-3

And the line beginpagina - user galleries must be hidden.

Roelof

Joachim Müller

I you want to go for a narrow layout you'll have to modify theme.php even further and make sure that the content that gets inserted doesn't eat up too much space - you should set the number of thumbnails in the filmstrip to "3" and edit the comments section.

We have a strict "one question per thread" policy that you agreed to respect when signing up.

User galleries shining through on the index page is not related to theming but a matter of coppermine setup. Read the documentation and search the board to find out how to turn them off.

As your initial issue has been solved I'm marking this thread accordingly and locking it. Read up board rules and start separate threads for separate issues on the proper boards after having read the documentation and after having searched the board.