Hi,
your code example looks not like phpMyFAQ 2.5, it looks more like 2.0.
In inc/Faq.php you have to go to line 435 and change
Code: Select all
$listItem = sprintf('<li>%s<br /><span class="little">(%d %s)</span>%s</li>',
$oLink->toHtmlAnchor(),
$visits,
$this->pmf_lang['msgViews'],
($row->sticky == 1) ? '<br /><br />' : '');
to
Code: Select all
$listItem = sprintf('<li>%s%s</li>',
$oLink->toHtmlAnchor(),
($row->sticky == 1) ? '<br /><br />' : '');
for removing the number of views. For removing the numbers of records in a category view to have to open inc/Category.php, go to line 651 and change
Code: Select all
$num_entries = sprintf(' (%d %s ',
$number[$parent],
$PMF_LANG['msgEntries']);
$num_entries .= sprintf(' <a href="feed/category/rss.php?category_id=%d&category_lang=%s" target="_blank"><img id="category_%d_RSS" src="images/feed.png" width="16" height="16" alt="RSS" /></a>)',
$parent,
$this->language,
$parent);
to
Code: Select all
$num_entries = sprintf(' <a href="feed/category/rss.php?category_id=%d&category_lang=%s" target="_blank"><img id="category_%d_RSS" src="images/feed.png" width="16" height="16" alt="RSS" /></a>)',
$parent,
$this->language,
$parent);
bye
Thorsten