TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 17, 2024, 09:12:22 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 76
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 65
  • Total: 65

Top x Downloads auf 5 beschränken?

Started by IshtalBloodfist, February 10, 2011, 02:07:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IshtalBloodfist

Aloha,

ich habe gerade schon die SuFu bemüht, aber nichts passendes gefunden. Meine Frage ist hoffentlich recht leicht zu beantworten:

Wie limitiere ich die Anzeige der Top x Downloads im tpmodule Block auf 5?

Danke für Hilfe im Voraus
Ish




English:

I already tried the search function, but did not find an answer...

How do i limitate the number of shown downloads in the tpmodule block (top x downloads) to 5?

Thanks in advance
Ish

IchBin

Themes/default/TPsubs.template.php

Find:
case 'dl-stats':
dl_recentitems('8','date','echo');
break;


Change '8' to your desired number.