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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,020
  • Total Topics: 21,332
  • Online today: 926
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 238
  • Total: 238

Download manager settings.

Started by antechinus, August 02, 2008, 12:49:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

antechinus

Now I'm aware this question has probably been asked and answered many times but it's a very basic question and there's nothing about it in the docs (that I can find anyway). If anyone is tired of answering this question may I humbly suggest adding the answer to the stickied FAQ here.  ;)

Anyway the question is this: I currently have nine files in my Download Manager and despite playing with the settings I cannot get it to display more than eight (this being in the side panel block). How do I increase the number of displayed files?  Thanks.

ETA: This is for TP 0.983

IchBin

I'm assuming you're talking about the latest downloads block or something?

antechinus

Yup. Wanna linky?

You can sign in as Demo1 or Demo2 with the same passwords if you like. 

antechinus

Is it possible  to list more than eight files in the side block? If it isn't just say so and I'll give up trying.

IchBin

TPortalBlocks.template.php I bet you can't figure it out!  O0
      switch($context['TPortal']['moduleblock']){
case 'dl-stats';
dl_recentitems('8','date','echo');
break;
case 'dl-stats2';
dl_recentitems('8','downloads','echo');
break;
case 'dl-stats3';
dl_recentitems('8','views','echo');

antechinus

You're right. Got absolutely no idea.
I'm thinking I'll have to change the  dl_recentitems  bit to  dl_lotsa_recentitems_so_there 

That should work hey. I'll give it a go at see if it works.  :up:

antechinus

Yep, it worked. Ticking of as solved. Thanks.

IchBin

:) I knew you'd get it. hehe Good work.

This website is proudly hosted on Crocweb Cloud Website Hosting.