coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: wipqozn1 on July 09, 2007, 01:48:55 PM

Title: Meta tags just for index.php
Post by: wipqozn1 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?
Title: Re: Meta tags just for index.php
Post by: Joachim Müller on July 10, 2007, 10:26:54 AM
The pageheader function allows as second parameter a meta tag. Edit index.php, findpageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);and replace withpageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome'], '<meta name="foo" content="bar" />');
Title: Re: Meta tags just for index.php
Post by: wipqozn1 on July 18, 2007, 10:05:57 AM
Thanks :)