Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Meta tags just for index.php  (Read 3539 times)

0 Members and 1 Guest are viewing this topic.

wipqozn1

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Meta tags just for index.php
« on: July 09, 2007, 01:48:55 pm »

Hi there,

I've created dynamic meta tags for my gallery (displayimage.php and thumbnails.php). There is only one problem - this not include the main page. So my question is: how could I create a STATIC meta tags JUST for my index.php page?
« Last Edit: July 18, 2007, 10:16:16 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Meta tags just for index.php
« Reply #1 on: July 10, 2007, 10:26:54 am »

The pageheader function allows as second parameter a meta tag. Edit index.php, find
Code: [Select]
pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);and replace with
Code: [Select]
pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome'], '<meta name="foo" content="bar" />');
Logged

wipqozn1

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: Meta tags just for index.php
« Reply #2 on: July 18, 2007, 10:05:57 am »

Thanks :)
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.