I would like to remove the (Views: XXX) when your looking at all the topics in a category. I want the space to stay there, just remove (Views: XXX) part.
Take a look at http://www.civicseo.com and see what I've done with your great script.
How to remove views in category....
Moderator: Thorsten
Hi,
please take a look at the inc/Category.php file and search for "views".
bye
Thorsten
please take a look at the inc/Category.php file and search for "views".
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to remove views in category....
I also have the same question but I open the file you mention and search for "views" - not found
I would also like to remove the tags, author, last revised date, translation and everything below that line - I just want a plain and simple display.
Can you tell me where/how to remove these?
I would also like to remove the tags, author, last revised date, translation and everything below that line - I just want a plain and simple display.
Can you tell me where/how to remove these?
Re: How to remove views in category....
Hi,
to
bye
Thorsten
Just open inc/Faq.php, look for the function showAllRecords() and change this code:stormy wrote:I also have the same question but I open the file you mention and search for "views" - not found
Code: Select all
$listItem = sprintf('<li>%s<br /><span class="little">(%d %s)</span></li>',
$oLink->toHtmlAnchor(),
$visits,
$this->pmf_lang['msgViews']);
Code: Select all
$listItem = sprintf('<li>%s</li>', $oLink->toHtmlAnchor());
You can remove this in the file template/artikel.tplstormy wrote:I would also like to remove the tags, author, last revised date, translation and everything below that line - I just want a plain and simple display.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to remove views in category....
Thank you Thorsten - that worked perfectly!
Re: How to remove views in category....
Can you give more details about configuring FAQ page, to remove "propose translation" line and "switch language"? I tried removing them in template/artikel.tpl but got starnge results on front page...
Re: How to remove views in category....
Hi,
what contents did you remove?
bye
Thorsten
what contents did you remove?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to remove views in category....
I think I have commented out section:
<!-- Translation Form -->
<div class="translation">
{translationForm}
</div>
<!-- /Translation Form -->
What I should modify to disable from the page following:
- 'change language' (I want all working in just one language)
- 'propose translation' line
- 'rate this article' line
<!-- Translation Form -->
<div class="translation">
{translationForm}
</div>
<!-- /Translation Form -->
What I should modify to disable from the page following:
- 'change language' (I want all working in just one language)
- 'propose translation' line
- 'rate this article' line
Re: How to remove views in category....
Hi,
do you mean the change language on the left side? You have to remove it in the index.tpl file.
bye
Thorsten
do you mean the change language on the left side? You have to remove it in the index.tpl file.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist