Wednesday 30 June 2004 8:23:12 am
I should have entered the whole code fragment for meta tags. Here it is from index.php:
$meta = $ini->variable( 'SiteSettings', 'MetaDataArray' );
$metaDescription = "";
if ( isset( $moduleResult['path'] ) and
is_array( $moduleResult['path'] ) )
{
foreach ( $moduleResult['path'] as $pathPart )
{
if ( isset( $pathPart['text'] ) )
$metaDescription .= $pathPart['text'] . " ";
}
}
$meta['description'] = $metaDescription;
As you can see the $meta variable is populated from the site.ini MetaDataArray array. The easiest way to fix this is to change the line:
$meta['description'] = $metaDescription;
to:
$meta['path_description'] = $metaDescription;
This should stop the default description from being overriden. I notice that description works on the ez web site and some our older visionwt sites. But new sites are affected. Digging through the index.php revisions the change occured some 17 months ago: http://pubsvn.ez.no/websvn/diff.php?repname=nextgen&path=/trunk/index.php&rev=1461&sc=1 which should have impacted us some time ago... Hope this helps! paul
-- http://www.visionwt.com
|