Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2014, 03:15:27 PM

Login with username, password and session length

Last 25 Topics



Note:  Clicking the link above will open a new tab in your browser !!

Recent

Members
  • Total Members: 3449
  • Latest: jkrlvgn
Stats
  • Total Posts: 173908
  • Total Topics: 19845
  • Online Today: 83
  • Online Ever: 278
  • (October 31, 2012, 08:52:18 AM)
Users Online
Users: 1
Guests: 50
Total: 51

Donate

Help us to keep the support site
going, Please consider a small donation.

Thank you
Please read the Posting Guidelines

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