Foren / Cotonti / Support / Ajax help.

lukgoh
#37468 9. Mai 2013, 13:55

Hey guys, trying to learn how to use ajax pagination properly following this: http://www.cotonti.com/docs/devel/ajax_helpers

However, when I use a div where I would like the list to load for each page of items it re-loads the whole page inside the div (so you see the whole page twice). Can anyone provide a little more information on what I could be doing wrong?

$pagenav = cot_pagenav('users', '&m=details&id=' .$id . '&c=' .$c. '&s=' .$s. '&w='.$w, $d, $totalitems,
        $cfg['plugin']['pagesbyuser']['pages_perpage'], 'd', '', true, 'pagesbyuser');