Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: My Site Has Static Titles & Not Dynamic  (Read 4742 times)

0 Members and 1 Guest are viewing this topic.

Saif

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 87
    • Free HD Wallpapers
My Site Has Static Titles & Not Dynamic
« 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.

 :)
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: My Site Has Static Titles & Not Dynamic
« Reply #1 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
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Saif

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 87
    • Free HD Wallpapers
Re: My Site Has Static Titles & Not Dynamic
« Reply #2 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.
Logged

Saif

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 87
    • Free HD Wallpapers
Re: My Site Has Static Titles & Not Dynamic
« Reply #3 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: My Site Has Static Titles & Not Dynamic
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.