TinyPortal
Development => Support => Topic started 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
I'm assuming you're talking about the latest downloads block or something?
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.
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.
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');
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:
Yep, it worked. Ticking of as solved. Thanks.
:) I knew you'd get it. hehe Good work.