User Info Admin Block causing white page

GeekDrop
GeekDrop's picture

Joined: 2008-05-12
Posts: 21
Posted: Fri, 2013-08-02 05:24

Using G 3.0.9 and User Info 2, when I try to add the "User Information" block to my dashboard (whether as a side block or center block) it just shows this (http://snag.gy/oRYiR.jpg) after enabling it, when trying to show my Dashboard page. This happening to anyone else?


GeekDrop.com | GeekDrop Facebook Fan Page | GeekDrop Twitter

AttachmentSize
oRYiR[1].jpg10.41 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-08-04 17:46

The code for the pagination needs a rewrite.
remove

<!--Second Row - List the Page Numbers for Pagination if there are records in the Database -->
<? if ($number_of_records) { ?>
<tr>
	<td align="center" colspan="6"><?= $pager ?></td>
</tr>
<? } ?>

from admin_block_user_info.html.php and increase the Number of records to display per page setting.
That should get you going until the pagination code gets fixed.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
GeekDrop
GeekDrop's picture

Joined: 2008-05-12
Posts: 21
Posted: Wed, 2013-08-07 04:48

Thanks floridave, that took care of it. :)


GeekDrop.com | GeekDrop Facebook Fan Page | GeekDrop Twitter

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-08-16 14:48

I have updated the module to have:
Table filter. Requires the table filter module.
Delete old records before date. Requires jquery.iu.datepicker from an experimental version.

So if you run the experimental version of G3 then this updated module will be better.
G3.09 will not have this so you will have to upgrade to an experimental version to take advantage of the new features.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team