Support Forums

Meta Description for Category

This is a discussion on Meta Description for Category within the Technical Support forums, part of the Technical Support Forums category; Hi, Is there a way to use the description from the main page in categories if the category description is ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 03-02-2008, 07:23 PM   #1
Junior Member
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
Nudge is on a distinguished road
Default Meta Description for Category

Hi,

Is there a way to use the description from the main page in categories if the category description is not provided, like the keywords?
Nudge is offline  
Old 03-02-2008, 07:26 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Im not sure if the category description is stored in avariable or not, but you could use the info in the following thread to see and to implement your desired behavior if it is.

Overriding the <title> of certain pages?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 03-02-2008, 07:54 PM   #3
Junior Member
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
Nudge is on a distinguished road
Default

hey thanks for the quick response.

I was able to solve this by simply putting this on line 27 of category.php

if ($description == '') {
$description = $Core->settings['description'];
}
Nudge is offline  
Closed Thread

Thread Tools
Display Modes



All times are GMT -4. The time now is 06:11 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0