rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: riccetts on March 21, 2011, 01:58:23 PM
-
I would like to limit uploads on main page and be able to create another page for new uploads.
Can I do it with hfs 2.2 template?
-
limit uploads on the main page? what kind of limit?
-
Yes on the main page
Like limiting 20 downloads per page.
after the twenty limit it adds a new page.
-
downloads? you started saying uploads. What's the right one?
-
I'm sorry I don't mean to confuse you.
Set the amount of downloads per page.
when it reaches that limit, the next upload created
will start a new page.
-
try to be more specific, i don't understand what you need.
i don't see why downloads should create pages.
a screen shot may help.
-
I am trying to make a site like a torrent site. So what I'm trying to do is limit the amount of files per page. Is there a way to set a limit on files?
-
It seems to me that it is explained in the wiki.
-
What wiki is it listed under?
-
What wiki is it listed under?
Full of instructive reading
http://www.rejetto.com/wiki/index.php?title=HFS:_URL_parameters
Be exactly interested more in
offset=nn
List files from the offset nn(0 being the first file)
limit=nn
Limit the listing with nn items
page=mm,nn
List files from the page mm with nn items
And to go farther
http://www.rejetto.com/forum/index.php?topic=1939.msg1010138#msg1010138