We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

help me to create a list of users? | Forum

Marcus Jul 17 '16
Please teach me how to add multi page to userlist?

I have a function that returns the list of all users!

$tpl = OW::getPluginManager()->getPlugin("buscarpareja")->getCtrlViewDir() . "list_index.html";
        $page = (!empty($_GET['page']) && intval($_GET['page']) > 0 ) ? $_GET['page'] : 1;
        $perPage = 20;
        $first = ($page - 1) * $perPage;
        $count = $perPage;

$dtoList = $service->findUserListByIdList($idList);
        $listCount = $service->findUserCountByIdList($idList);

$listCmp = new BUSCARPAREJA_UserList($dtoList, $listCount, 20);

$this->addComponent('listCmp', $listCmp);

The multi page links show at the bottom but they show the same users on all pages!
The Forum post is edited by Marcus Jul 17 '16
asas sed
asas sed Jan 12 '23
Nursing Fundamentals consists of route paintings in fundamental nursing techniques, dosage calculation, primary intravenous therapy, principles of pharmacology, and physical evaluation the the nursing. Maslow's Theory and the nursing technique are used as tools for exploration of concepts.