rejetto forum
July 31, 2010, 07:15:27 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Filelist recursive sorting  (Read 349 times)
0 Members and 1 Guest are viewing this topic.
Teroan
Occasional poster
*
Offline Offline

Posts: 2


View Profile
« on: March 07, 2010, 11:42:42 AM »
Reply with quoteQuote

Is there way to get the filelist to sort and recurse just like in normal templates using url parameters?

Below parameters works as expected in normal templates.
Code:
?sort=t&recursive

For filelist, below parameters don't appear to work.
Code:
?tpl=list&sort=t&recursive

Also is there any documentation how to use "tpl" parameter? Curious if it allows to set the template via url param.

Any help is appreciated! Thanks in advance.
« Last Edit: March 07, 2010, 11:46:45 AM by Teroan » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 10758


View Profile
« Reply #1 on: March 08, 2010, 05:56:49 AM »
Reply with quoteQuote

welcome!

that was a bad design choice.
i opted to prevent the filelist to be sortable.
that was an improper way to avoid useless heavy actions.
i think anyway the template (or the user) should be able to decide by themselves to sort or not.

this will break a little few templates (like the default one) that don't care to clear the "sort" parameter when requiring the list.
i will fix the default template, but anyone who customized it will have to apply manually. and this sucks, but i guess it must be done.

you will have to wait for build #258 to be published.

Also is there any documentation how to use "tpl" parameter? Curious if it allows to set the template via url param.

there's not other use for the tpl parameter at the moment. It's just an incipit for what will come. Wink
« Last Edit: March 08, 2010, 05:58:57 AM by rejetto » Logged
Teroan
Occasional poster
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: March 08, 2010, 09:52:07 AM »
Reply with quoteQuote

Thanks for the reply!

I'll keep my eye on the next release and thanks again for this awesome lil program. Smiley
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!


Google visited last this page June 08, 2010, 01:24:25 AM