Problem customizing the grey-style-20 theme Problem customizing the grey-style-20 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

Problem customizing the grey-style-20 theme

Started by Quartzkyte, January 24, 2009, 06:37:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Quartzkyte

Hello all,

I'm new to CPG and am trying to customize the grey-style-20 theme (although very nice, does not 100% suit my needs...).

The gallery URL is http://www.picsoclock.com.

What I did does work under Firefox 3 and Opera 10, but not under Internet Explorer 7 (who said "as usual" in the back of the room?).
I wouldn't care as I don't use it for much more than checking websites, but the readers still use it ;)...

I realize it's probably nothing serious, an obvious CSS problem or something like that, but (maybe overworked) I don't see it :(.
I did RTFM & searched, but (possibly for the same reason) did not find my way out....

Would someone care to help (& be able to ;))? Thank you in advance.

Mike.

Joachim Müller

I get two <head>-sections when accessing your page. No wonder that browsers do funny things. Attached is the output I get (view source). You appear to be using a theme based on "Rin" though; if that's not the case, post the link that leads to the theme you're having issues with.

Quartzkyte

First, thank you for taking the time to go into this.
As I went unsuccessful with this theme, I started configurating Rin (which works fine), but I still prefer the grey-style-20 if I can put my hands on the mistake.
This is typical of the cut & paste mistake... but it seems not to have produced any mistake on Rin.
I passed the gallery again to grey-style-20 if you have another moment, and anyway the files I modded are attache to the first post.
Again, thanks.

Joachim Müller

#3
You don't have to switch your gallery to a particular theme for everyone - just toggle the usage of a particular theme per user by accessing a URL like http://www.picsoclock.com/?theme=grey-style-20 or http://www.picsoclock.com/?theme=rin - that's all (as suggested in the docs, section Tipps & Tricks). Just switch your gallery back now for all users to rin untill your issues are solved.
First of all, you should disable the display of the vanity block, as your theme certainly doesn't validate. Second, you should use another editor that works properly with utf-8 files. Third, get rid of the Byte-Order-Mark that the w3c-html-validator complains about, as that might confuse browsers as well. In fact, you should try to make your theme validate if you plan cross-browser-compatibility. I can't actually look into your IE-issues from here as I don't have that browser available.

Quartzkyte

Thanks.
I'm using Notepad++, that should be an easy walk.
Meanwhile I'm reverting to Rin that works under both :)