coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: doug20000 on November 15, 2008, 01:30:48 AM

Title: Custom page titles
Post by: doug20000 on November 15, 2008, 01:30:48 AM
Hi there, I have given myself a headache trying to figure out how to solve this problem.  I have edited the <title> tag in my template.html to my site name (Creative BC).  However as this file affects my whole site every picture has this page title.  Google has indexed a number of the photos from my site but they all have the exact title and page description.  I want to make it that the name of the picture becomes the page title, and the caption the page description (for both intermediate and full views).  I have seen this on other coppermine galleries but couldn't deconstruct how it was done.  I figure this would help with SEO allowing my site to be reached from a wider range of key words, depending on what is uploaded.  So I would really appreciate some guidance in figuring this out.  Thanks!
Title: Re: Custom page titles
Post by: SaWey on November 15, 2008, 11:03:28 AM
Just replace your custom title back with the '{TITLE}' tag, coppermine does what you ask for out of the box.
Title: Re: Custom page titles
Post by: doug20000 on November 16, 2008, 06:44:08 AM
Thanks that was very easy but somehow I missed it.  Appreciate the help!
Title: Re: Custom page titles
Post by: doug20000 on November 16, 2008, 06:53:34 AM
One other quick question is it possible to do something similar with the page description?
Title: Re: Custom page titles
Post by: Joachim Müller on November 16, 2008, 01:28:37 PM
Try http://forum.coppermine-gallery.net/index.php/topic,40951.0.html