Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 12, 2022, 06:31:29 PM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 50
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 33
Total: 33

Author Topic: Top x Downloads auf 5 beschränken?  (Read 4643 times)

0 Members and 1 Guest are viewing this topic.

Offline IshtalBloodfist

  • Newbie
  • *
  • Posts: 2
Top x Downloads auf 5 beschränken?
« on: February 10, 2011, 07:07:27 AM »
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
« Last Edit: February 10, 2011, 07:48:14 AM by IshtalBloodfist »

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Top x Downloads auf 5 beschränken?
« Reply #1 on: February 10, 2011, 11:08:49 AM »
Themes/default/TPsubs.template.php

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

Change '8' to your desired number.

Offline IshtalBloodfist

  • Newbie
  • *
  • Posts: 2
Re: Top x Downloads auf 5 beschränken?
« Reply #2 on: February 11, 2011, 12:18:24 AM »
Thank you very much