Top 10 and 5 newest in homepage

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Gastongr
Posts: 13
Joined: Mon Jul 19, 2004 12:32 am

Top 10 and 5 newest in homepage

Post by Gastongr »

Hello,
I'm trying to put the top 10 and 5 newest FAQs only in the home page adding the code {writeTopTenRow} etc etc in main.tpl but it seems it's not interpreted and nothing is inserted.
How can i do this?

Thanks :)
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Gastongr
Posts: 13
Joined: Mon Jul 19, 2004 12:32 am

Post by Gastongr »

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

Post by Thorsten »

Hi,

just use the RSS feeds for that.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Gastongr
Posts: 13
Joined: Mon Jul 19, 2004 12:32 am

Post by Gastongr »

How does that work?. :shock:
I opened feed/latest/rss.php and it outputs some xml code

www.codingfaq.com/feed/latest/rss.php

Sorry i have no idea about rss or xml :oops:
Vanessa
Posts: 9
Joined: Mon Apr 18, 2005 4:54 am

Post by Vanessa »

Changing the main.php file means you'll probably run into problems when you update, but Gastongr, I've posted a dirty fix in this post
Gastongr
Posts: 13
Joined: Mon Jul 19, 2004 12:32 am

Post by Gastongr »

Great, thanks so much. :) .
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

did Vanessas posting help?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Gastongr
Posts: 13
Joined: Mon Jul 19, 2004 12:32 am

Post by Gastongr »

Not in the other thread, thanks :D
Post Reply