21285 Posts in 5732 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 705 Views |
-
Break apart ul list

1 April 2010 at 2:12am
Hi,
Working with silverstripe for a little while, and it is great!
For now, i am stucked with a problem.I have a user list placed as ul li list;
<ul>
<% control user %><li>$Username</li>
<% end_control%>
</ul>Now i want to break apart this list if there are more than 10 users, so you get more ul lists.
I think i have to do this within the pagecontroller with php. But i can't think about any solution. Hope somebody can give me a hint to the right direction.gr,
Raack.
-
Re: Break apart ul list

1 April 2010 at 2:22am
Are you looking for a pagination of your list? ->http://doc.silverstripe.org/doku.php?id=private:recipes:pagination
-
Re: Break apart ul list

2 April 2010 at 3:12am Last edited: 2 April 2010 3:34am
Hi baba-papa,
Thx for the reply and link.
Yeah it is the same functionality but without the pagination. So all list can be placed on one page.
So i want to start a new u llist when there are more than 10 users.gr,
Raack
| 705 Views | ||
|
Page:
1
|
Go to Top |


