TOP TEN | Suppress Visits & Dates | CSS or Other Method
Moderator: Thorsten
TOP TEN | Suppress Visits & Dates | CSS or Other Method
We would like to apply CSS and/or suppress the number of views and/or the dates that are listed in the Top Ten, Most Recent, and Sticky.
We would like to be able to do this on the FAQ pages and the RSS that is produced.
Ideally, we would like to do this with CSS but will modify the PHP or TPL if necessary.
Please give us some pointers.
Thanks in advance for your help!
We would like to be able to do this on the FAQ pages and the RSS that is produced.
Ideally, we would like to do this with CSS but will modify the PHP or TPL if necessary.
Please give us some pointers.
Thanks in advance for your help!
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
We found a method to suppress dates and visits/views on the web pages:
startpage.tpl
<!-- <li><a href="{toptenUrl}">{toptenTitle}</a> ({toptenVisits}) </li> -->
<li><a href="{toptenUrl}">{toptenTitle}</a></li>
<!-- <li><a href="{latestEntriesUrl}">{latestEntriesTitle}</a> ({latestEntriesDate})</li> -->
<li><a href="{latestEntriesUrl}">{latestEntriesTitle}</a></li>
Not sure if that is the best approach but it works.
However, we still need some guidance for suppressing the same stuff on the RSS feeds.
Thanks!
startpage.tpl
<!-- <li><a href="{toptenUrl}">{toptenTitle}</a> ({toptenVisits}) </li> -->
<li><a href="{toptenUrl}">{toptenTitle}</a></li>
<!-- <li><a href="{latestEntriesUrl}">{latestEntriesTitle}</a> ({latestEntriesDate})</li> -->
<li><a href="{latestEntriesUrl}">{latestEntriesTitle}</a></li>
Not sure if that is the best approach but it works.
However, we still need some guidance for suppressing the same stuff on the RSS feeds.
Thanks!
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Hi,
what do you want to do with the RSS feeds exactly?
bye
Thorsten
what do you want to do with the RSS feeds exactly?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Hello Thorsten. Thanks for the reply.Thorsten wrote:Hi,
what do you want to do with the RSS feeds exactly?
bye
Thorsten
We want to suppress the number of visits/views detail that is delivered in the Top Ten RSS feed.
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Hi,
you have to edit feed/topten/rss.php
bye
Thorsten
you have to edit feed/topten/rss.php
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Thanks. We actually found that file earlier and made some changes. Then, we reverted back to the original version (from the original install files).
Now, all of the records in the feed show the date: Wednesday, December 31, 1969, 7:00:00 PM
Then, when you click the title link to see the full article, we get this:
No Categories found.
This entry is in revision and can not be displayed
Your thoughts?
Now, all of the records in the feed show the date: Wednesday, December 31, 1969, 7:00:00 PM
Then, when you click the title link to see the full article, we get this:
No Categories found.
This entry is in revision and can not be displayed
Your thoughts?
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Hi,
which version do you use?
bye
Thorsten
which version do you use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Hi,
this issue will be fixed in 2.6.2.
bye
Thorsten
this issue will be fixed in 2.6.2.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
OK. Is there a timeframe for that yet?
Meanwhile, is there a way to revert back to the original feed files?
Meanwhile, is there a way to revert back to the original feed files?
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Hi,
2.6.2 will be released next week. What do you want to revert?
bye
Thorsten
2.6.2 will be released next week. What do you want to revert?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method
Thanks for the replies.
We thought the RSS for Top Ten was working properly under 2.6.1 before we tried to tweak it. That might not be the case. So, we were hoping that reverting back to the original rss.php files (or some other method) would put the RSS stuff back in order.
If not, next week is OK for the fix.
We thought the RSS for Top Ten was working properly under 2.6.1 before we tried to tweak it. That might not be the case. So, we were hoping that reverting back to the original rss.php files (or some other method) would put the RSS stuff back in order.
If not, next week is OK for the fix.