forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: teambajamarine on June 29, 2004, 08:08:20 am
-
AFter much playing around I have got my theme pretty close to where it should be in the sense of matching my website. Here are the two questions for things that I cannot solve,
first...On the top navigation list, how can I change the ALBUM LIST to be the homepage of the photo gallery? now it bounce you to the category you just looked at, I want the album list to always default to the first page.
second...borders around the inside of my categories? What is the process to add a border where there is none?
Thanks in advance for your help. Always appreciated.
http://www.teambajamarine.com/Coppermine/index.php
-
edit themes/yourtheme/theme.php, find
$param = array('{ALB_LIST_TGT}' => "index.php$cat_l",
and replace it with$param = array('{ALB_LIST_TGT}' => "index.php",
, although this is not recommended. Instead, enable breadcrumb navigation or add a "home" link by adding<a href="index.php" title="your text that shows when someone hovers over the link goes here">your text for the link goes here</a> ::
right after// HTML template for main menu
$template_main_menu = <<<EOT
<span class="topmenu">
To find out what css style sheet is being used for what part of the display, use the styleguide (http://coppermine.sourceforge.net/demo/index.php?theme=styleguide) theme that comes with your coppermine package (click on the style names at the left side of the screen).
GauGau
-
Thank you Gau, got the first part of my question working.