forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: cowgirlexpressions on February 15, 2005, 03:02:44 pm
-
I've been working on my theme and the layouts I want and so forth. However, I'm running into a weird question, and I checked a couple other theme.php files to make sure I just hadn't doubled the code myself. In the theme.php file, there are TWO album list code sections (// HTML template for the album list) ... I have changed the top/first one, which seems to have changed the album list on my site. So what does the second one do?
Thanks!
Ramsey
-
Although they may seem the same they're slightly different.
The 1st line in the two blocks of code is different:
$template_album_list = <<<EOT
$template_album_list_cat = <<<EOT
The 2nd block of code is used for the display first level Albums of a category function. 8)
-
Yes, there should be 2, as here;
// HTML template for the album list
$template_album_list = <<<EOT
// HTML template for the album list
$template_album_list_cat = <<<EOT
See the '_cat' in the second.
One is for the root albums and albums shown at first level, the other for albums within categories.
-
Awesome. Thanks folks!
I don't use categories, so that is why I couldn't figure this one out. Thanks again!
Ramsey