coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: bpotter666 on February 15, 2006, 10:32:40 AM

Title: Problems with my theme
Post by: bpotter666 on February 15, 2006, 10:32:40 AM
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
Title: Re: Problems with my theme
Post by: Nibbler on February 15, 2006, 11:51:56 AM
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
Title: Re: Problems with my theme
Post by: bpotter666 on February 15, 2006, 11:57:27 AM
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
Title: Re: Problems with my theme
Post by: Joachim Müller on February 16, 2006, 10:41:45 AM
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.