Force c5 to use the page description as the meta description

Permalink
Hi There,

I notice that c5 will grab the page title and use that as the meta title - is there a way to get c5 to use the page description as the meta description automatically?

Because of where meta descriptions are, clients don't see that area or don't see the point of entering the same info twice.

ANy help would be much appreciated.

Cheers

Ben

 
ScottSandbakken replied on at Permalink Reply
ScottSandbakken
Copy [root]\concrete\elements\header_required.php into [root]\elements, then modify the line
$akd = $c->getCollectionAttributeValue('meta_description');

to be
$akd = (strlen($c->getCollectionDescription()) > 0 ? $c->getCollectionDescription() : $c->getCollectionAttributeValue('meta_description'));
JohntheFish replied on at Permalink Reply
JohntheFish