coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: webee on August 05, 2006, 11:01:01 AM

Title: Where is SUB_MENU and MENU and..
Post by: webee on August 05, 2006, 11:01:01 AM
I'm thoroughly confused.

This might sound dead simple but I can't solve it. I'm trying to change the look of coppermine so it fits neatly with my website but I can't find documentation that covers this...I've searched for hours on this and other stuff..

Anyway for now I'd be happy if someone could tell me where I can find the html code that is inserted by the values in {CAPS}?

Stuff like this;
              {ADMIN_MENU}
              {GALLERY}
and   {CUSTOM_FOOTER}{VANITY} and so on.

I've been opening files for some time but I just can't figure it out. How do I edit that code?

Also, how can I edit the html in a single image's page? You know the display that has the film strip and ratings?

Is there a popular site out there that provides some tips and documentation on editing coppermine templates? I'm very new to coppermine so I have no idea. The documentation at the coppermine site is just really confusing for new comers.

Thank you for your time.
Title: Re: Where is SUB_MENU and MENU and..
Post by: Stramm on August 05, 2006, 11:51:14 AM
most of that you modify in the theme.php
Depending on what you want to change you copy functions and or vars from themes/sample/theme.php to the theme.php you want to change.

Most function names are selfexplaining like
function theme_html_rating_box
or
$template_film_strip

Stuff in brackets {} is a placeholder and the new contents calculated by functions in the theme.php

Search the board... there are sticky threads that explain how to change eg. the menu