Meta tags just for index.php Meta tags just for index.php
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Meta tags just for index.php

Started by wipqozn1, July 09, 2007, 01:48:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wipqozn1

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?

Joachim Müller

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" />');

wipqozn1