Hey folks-
On the show all categories page, I'm trying to get rid of the [en] that's next to each question.
I couldn't find the template file associated with this, so I'm not sure what to edit.
Any help would be appreciated!
Thank you,
sohmer
Getting rid of [en]
Moderator: Thorsten
If you click "Show all categories" as a user you'll get a list of categories, each of them indicating the numer of faq classified in that category.
Maybe you're talking about:
a. the <select> populated wth all the categories: if yes, please open inc/category.php and search for the printCategoryOptions method and replace this line:
whit this one:
b. the list of faq (title of -) obtained clicking upon a category: if yes, please open inc/functions.php and search for printThemes function and replace this lines:
with these ones:
If not (a.) or (b.) please post the url of the page upon which you would introduce your custom behaviour
[/i]
Maybe you're talking about:
a. the <select> populated wth all the categories: if yes, please open inc/category.php and search for the printCategoryOptions method and replace this line:
Code: Select all
$categories .= $indent.$cat['name']." (".$cat['lang'].")</option>\n";Code: Select all
$categories .= $indent.$cat['name']."</option>\n";Code: Select all
$output .= "\t<li><a href=\"".$row->category_id."_".$row->id."_".$row->lang.".html\">".PMF_htmlentities(stripslashes($row->thema),ENT_NOQUOTES, $PMF_LANG['metaCharset'])."</a> [".$row->lang."]<br /><div class=\"little\">(".$visits." ".$PMF_LANG["msgViews"].")</div></li>\n";
} else {
$output .= "\t<li><a href=\"".$_SERVER["PHP_SELF"]."?".$sids."action=artikel&cat=".$row->category_id."&id=".$row->id."&artlang=".$row->lang."\">".PMF_htmlentities(stripslashes($row->thema),ENT_NOQUOTES, $PMF_LANG['metaCharset'])."</a> [".$row->lang."]<br /><div class=\"little\">(".$visits." ".$PMF_LANG["msgViews"].")</div></li>\n";
Code: Select all
$output .= "\t<li><a href=\"".$row->category_id."_".$row->id."_".$row->lang.".html\">".PMF_htmlentities(stripslashes($row->thema),ENT_NOQUOTES, $PMF_LANG['metaCharset'])."</a><br /><div class=\"little\">(".$visits." ".$PMF_LANG["msgViews"].")</div></li>\n";
} else {
$output .= "\t<li><a href=\"".$_SERVER["PHP_SELF"]."?".$sids."action=artikel&cat=".$row->category_id."&id=".$row->id."&artlang=".$row->lang."\">".PMF_htmlentities(stripslashes($row->thema),ENT_NOQUOTES, $PMF_LANG['metaCharset'])."</a><br /><div class=\"little\">(".$visits." ".$PMF_LANG["msgViews"].")</div></li>\n";