TinyPortal

Development => Support => Topic started by: antechinus on August 02, 2008, 12:49:51 AM

Title: Download manager settings.
Post by: antechinus on August 02, 2008, 12:49:51 AM
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
Title: Re: Download manager settings.
Post by: IchBin on August 02, 2008, 01:11:32 AM
I'm assuming you're talking about the latest downloads block or something?
Title: Re: Download manager settings.
Post by: antechinus on August 02, 2008, 01:13:47 AM
Yup. Wanna linky? (http://www.councilofexmuslims.com/Demos_n_downloads/index.php?action=forum)

You can sign in as Demo1 or Demo2 with the same passwords if you like. 
Title: Re: Download manager settings.
Post by: antechinus on August 02, 2008, 04:21:34 AM
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.
Title: Re: Download manager settings.
Post by: IchBin on August 02, 2008, 05:08:21 AM
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');
Title: Re: Download manager settings.
Post by: antechinus on August 02, 2008, 05:24:00 AM
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:
Title: Re: Download manager settings.
Post by: antechinus on August 02, 2008, 05:32:24 AM
Yep, it worked. Ticking of as solved. Thanks.
Title: Re: Download manager settings.
Post by: IchBin on August 02, 2008, 06:17:26 PM
:) I knew you'd get it. hehe Good work.