TOP TEN | Suppress Visits & Dates | CSS or Other Method

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

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!
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

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!
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by Thorsten »

Hi,

what do you want to do with the RSS feeds exactly?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

Thorsten wrote:Hi,

what do you want to do with the RSS feeds exactly?

bye
Thorsten
Hello Thorsten. Thanks for the reply.

We want to suppress the number of visits/views detail that is delivered in the Top Ten RSS feed.
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by Thorsten »

Hi,

you have to edit feed/topten/rss.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

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?
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

2.6.1
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by Thorsten »

Hi,

this issue will be fixed in 2.6.2.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

OK. Is there a timeframe for that yet?

Meanwhile, is there a way to revert back to the original feed files?
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by Thorsten »

Hi,

2.6.2 will be released next week. What do you want to revert?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: TOP TEN | Suppress Visits & Dates | CSS or Other Method

Post by rdb3 »

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.
Post Reply