leonor Active Member License Active Jan 3, 2012 #1 Hello, how to display Category name and description in Category head ? leonor View Screen Capture
Mark Administrator Staff member Jan 3, 2012 #2 Hello, first open index.php and find: PHP: // Determine the category skin and meta data if ($TMPL['cat_exist']) { Add this after: PHP: $TMPL['cat_desc'] = $CONF['categories'][$TMPL['cat_exist']]['cat_desc']; (This code will be included in 0.7 so you dont need to re-apply it when you upgrade) Then open wrapper template and add: {$cat_exist} {$cat_desc} just before the {$content} tag This can also be done via a plugin for added styling possibilities. I will add the creation of this plugin to our todo list
Hello, first open index.php and find: PHP: // Determine the category skin and meta data if ($TMPL['cat_exist']) { Add this after: PHP: $TMPL['cat_desc'] = $CONF['categories'][$TMPL['cat_exist']]['cat_desc']; (This code will be included in 0.7 so you dont need to re-apply it when you upgrade) Then open wrapper template and add: {$cat_exist} {$cat_desc} just before the {$content} tag This can also be done via a plugin for added styling possibilities. I will add the creation of this plugin to our todo list
Mark Administrator Staff member Jan 3, 2012 #3 this has now been created under the Seo Plugin, making use of its own template and will be included with 0.7 release
this has now been created under the Seo Plugin, making use of its own template and will be included with 0.7 release