Welcome, Guest. Please login or register.
Did you miss your activation email?
October 01, 2014, 10:21:54 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 173986
  • Total Topics: 19851
  • Online Today: 108
  • Online Ever: 278
  • (October 31, 2012, 08:52:18 AM)
Users Online
Users: 0
Guests: 50
Total: 50
Please read the Posting Guidelines

Author Topic: Top x Downloads auf 5 beschränken?  (Read 1643 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™

  • Developer
  • *
  • Posts: 16119
    • My Website
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