10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 997 Views |
-
How I can make Pagination for files upload with HasManyFileManager

24 February 2009 at 11:29pm Last edited: 24 February 2009 11:29pm
I install HasManyFileManager in my project and I can show all the uploaded images to your page.
I wont make Pagination on this page for this file -
Re: How I can make Pagination for files upload with HasManyFileManager

25 February 2009 at 1:28am
I make This
Need changefunction ProductsList() {
if(!isset($_GET['start']) || !is_numeric($_GET['start']) || (int)$_GET['start'] < 1) $_GET['start'] = 0;
$SQL_start = (int)$_GET['start'];
$doSet = DataObject::get(
$callerClass = "ProductPage",
$filter = "`ParentID` = '".$this->ID."'",
$sort = "",
$join = "",
$limit = "{$SQL_start},8"
);return $doSet ? $doSet : false;
}
| 997 Views | ||
|
Page:
1
|
Go to Top |

