forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: bart5986 on January 29, 2005, 09:55:59 am
-
When I view slide show it says {title} Why is that?
I attached an image, at http://img165.exs.cx/img165/7131/pic5ts.jpg
Why is this?
-
Just to help out others who might want to help, here is the link to the site:
http://dynamic4.gamespy.com/~bart5986/cpg132/
@bart5986: For future reference, please provide the link to your site so that supporters don't have to type it out from a screenshot.
The issue is with the theme since switching to classic did not show those tokens.
-
lol i'm sorry I rushed the post.
So... how do I fix it? I did edit the theme but I don't think I changed anything to do with that.
-
Compare an unedited version of the theme files with your edited version. You should see what you changed and what you need to fix.
-
From what I remember I changed the top title of my skin and put my image in, and I think thats why its doing it.
at the gallery its the image at the top that says populous photo gallery.
-
Compare your theme.php file with that of classic's theme.php file. You must have removed something that normally fills the {title} token.
-
The original of part of it is
// HTML template for main menu
$template_main_menu = <<<EOT
<span class="topmenu">
<!-- BEGIN album_list -->
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->
<!-- BEGIN my_gallery -->
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
my one is // HTML template for main menu
$template_main_menu = <<<EOT
<span class="topmenu">
<!-- BEGIN home -->
<a href="http://dynamic6.gamespy.com/~bart5986/cpg132/" title="Home">Home</a> •
<!-- END home -->
<!-- BEGIN album_list -->
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> •
<!-- END album_list -->
<!-- BEGIN my_gallery -->
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> •
its different because I added a home button, should it be removed?
I noticed on another photo gallery that they don't have a title when you use the slideshow
-
Try this instead:
// HTML template for main menu
$template_main_menu = <<<EOT
<span class="topmenu">
<!-- BEGIN album_list -->
<a href="http://dynamic6.gamespy.com/~bart5986/cpg132/" title="Home">Home</a> •
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> •
<!-- END album_list -->
<!-- BEGIN my_gallery -->
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> •
-
nope its the same.
my title is the top banner so I think thats the problem.