help with formatting the xml export...

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
gordy
Posts: 5
Joined: Mon Oct 13, 2003 1:19 pm

help with formatting the xml export...

Post by gordy »

i would like to remove the numbers at the end of these links:

(output is under the header table)

http://www.planetfigure.com/dev/

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

Post by Thorsten »

Hi,

what do you mean exactly? :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
gordy
Posts: 5
Joined: Mon Oct 13, 2003 1:19 pm

Post by gordy »

looks like now:
Latest FAQ's
What is the best way to sand curves and ... (5 )
What is the best type of glue to use ... (42 )
Did you forget to capitalize the "p" in planetFigure? ... (38 )
Why the name "planetFigure"? (31 )
What is planetFigure? (31 )


i want to look like:
Latest FAQ's
What is the best way to sand curves and ...
What is the best type of glue to use ...
Did you forget to capitalize the "p" in planetFigure? ...
Why the name "planetFigure"?
What is planetFigure?


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

Post by Thorsten »

Hi,

search for the function generateFiveNewest() in functions.php. The take this line

Code: Select all

$output .= "\t\t\t<td valign=\"top\" class=\"fivenewest\" nowrap>".$row->visits." ".$msgViews."</td>\n";
and change it to

Code: Select all

$output .= "\t\t\t<td valign=\"top\" class=\"fivenewest\" nowrap> </td>\n";
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
gordy
Posts: 5
Joined: Mon Oct 13, 2003 1:19 pm

Post by gordy »

many thanks Image
gordy
Posts: 5
Joined: Mon Oct 13, 2003 1:19 pm

Post by gordy »

hmmm... didn't work...

this did work though:

edit cron4rss.php remove from line 92:

Code: Select all

 (".$row->visits." ".$msgViews.")
thanks it helped me find it ;)
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

sorry, I thought, you wanted something different.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply