forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Saif on January 05, 2010, 03:42:00 pm

Title: My Site Has Static Titles & Not Dynamic
Post by: Saif on January 05, 2010, 03:42:00 pm
http://www.orangewallpapers.com

My site doesn't have dynamic titles, what should I do ?

Thank you.

 :)
Title: Re: My Site Has Static Titles & Not Dynamic
Post by: Jeff Bailey on January 05, 2010, 06:19:22 pm
Make sure your "/gallery_name/themes/your_theme/template.html" has
Code: [Select]
<title>{TITLE}</title> To add a general title read this -> http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_general_name
Title: Re: My Site Has Static Titles & Not Dynamic
Post by: Saif on January 06, 2010, 06:00:34 am
thanks Jeff, I have it, like I added this -
<title>Free HD Wallpapers, Widescreen, Desktop Backgrounds, Bollywood Videos, Mp3 Songs, Games, Mobile Phones, Ringtones, e-cards etc.</title>
but if i remove it & use the codes you wrote, it works well otherwise if i m putting the other way, its static. How can i add a title (<title>Free HD Wallpapers, Widescreen, Desktop Backgrounds, Bollywood Videos, Mp3 Songs, Games, Mobile Phones, Ringtones, e-cards etc.</title>) so that it goes dynamic  ?
thank you for reply.
Title: Re: My Site Has Static Titles & Not Dynamic
Post by: Saif on January 06, 2010, 06:38:44 am
If I goto config from gallery & add the title in gallery name, it appears in browser & is dynamic too but the text is too large, the size of - orangewallpapers.com, as u can see on top...
http://www.orangewallpapers.com
Title: Re: My Site Has Static Titles & Not Dynamic
Post by: Joachim Müller on January 06, 2010, 11:41:04 am
Quote
Doctor, Doctor, please help me: whenever I hit myself on the head it hurts so badly.
Answer is quite simple: stop hitting yourself on the head.
In other words: undo your silly edits of the <title>-tag in template.html: return the tag as it used to be.

Then find the pageheader function definition in themes/yourtheme/theme.php (if it doesn't exist there, copy it in) and change as suggested in many threads (as far as I remember you have asked a similar question already) - I'm not ready to search your previous posting for that. I want you to search my postings instead for the term pageheader.