Problems with my theme Problems with my 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

Problems with my theme

Started by bpotter666, February 15, 2006, 10:32:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bpotter666

Hiya,

I realise the copyright is a shaky topic at coppermine, however I am havingsome problems with it. I recently began theming my coppermine, and I am finding it fairly easy. However, suddenly the copyright notice is right at the top of my page. It is also making the font on the rest of the page way too big. I do not wish to remove the copyright, I just wish to placce it at the bottom of my page again. Does anybody know how I can do this?

Thanks a lot,
Ben

Nibbler

The idea is that template.html is a template that contains html. Please review your changes.

http://www.harrys-hideout.net/gallery/themes/water_drop/template.html

bpotter666

#2
The layout that I integrated my gallery into has constantly got PHP in it. In my custom header, I wrote the whole layout that is above the main gallery, and I did the same in the custom footer, which has all of the layout below the gallery. So in the template.html file i just needed the (CUSTOM HEADER} {GALLERY} {CUSTOM FOOTER}

edit --

Is there some kind of tag that the copyright looks for, and adds itself there. Eg the script looks for a final </table> tag and inserts the copyright before that?? If so,I just need to add that tag into the template.html

Joachim Müller

Quote from: bpotter666 on February 15, 2006, 11:57:27 AM
Is there some kind of tag that the copyright looks for, and adds itself there. Eg the script looks for a final </table> tag and inserts the copyright before that?? If so,I just need to add that tag into the template.html
We won't tell how the tag works, obviously. No further discussion on this subject, or the whole thread will be deleted.

Do as Nibbler suggested, it's mandatory that the template.html contains HTML. You simply can't (ab)use the custom header and custom footer include to include full html stuff with <head> tags etc., that's just not how coppermine works.