The list of categories in yourQ2Asite.com/categories can be modified in the file
qa-include/pages/categories.php
I added some strip_tags like this:
if (strlen($category['content']))
// $navigation[$key]['note'] .= qa_html(' - ' . $category['content']);
$navigation[$key]['note'] .= ' ' . substr(strip_tags($category['content']),0,200).'...';
if (isset($navlink['subnav']))
qa_category_nav_to_browse($navigation[$key]['subnav'], $categories, $categoryid, $favoritemap);
}
}
For the category description when you ask a question. It can be modified in the file qa-include/ajax/category.php
I added some strip_tags like this:
$shortsring = strip_tags(strtr(@$fullcategory['content'], "\r\n", ' '));
$pos=strpos($shortsring, ' ', 200);
echo substr($shortsring,0,$pos).'...';
But the list of categories in the side panel is coded in the file
qa-include/plugins/qa-widget-category-list.php
This file calls 4 or 5 functions in qa-theme-base.php.
I tried to override but failed. The problem is nav_list function, (and maybe other child functions) can affect the site nagivation list as well as the list in the admin tool.