Zen Cart Logo
Forums / Bug Reports / Admin Activity Log Manager HTML display 50 lines instead of entire log

Admin Activity Log Manager HTML display 50 lines instead of entire log

Views: 1,334

Results 1 to 4 of 4
27 Aug 2014, 2:23 PM
#1
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Admin Activity Log Manager HTML display 50 lines instead of entire log

I just received the note that I needed to purge the admin log history.

The HTML format seems to only display the most recent 50 lines of the admin activity log on a new page with no option to page forward/backward/etc without using the browser back button.

My expectation was to be able to view the entire Admin Activity log in html format prior to repeating the drill and choosing csv export for archive purposes.

I found an older thread related to v1.5.1 that described a similar but that thread never received a response that addressed the html display of the latest 50 lines instead of the entire file.

28 Aug 2014, 12:11 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Admin Activity Log Manager HTML display 50 lines instead of entire log

I don't have an answer, but may I sugggest for completeness that the found thread be linked to here and vice versa? Hopefully an answer can be made/identified?!

28 Aug 2014, 12:42 AM
#3
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Admin Activity Log Manager HTML display 50 lines instead of entire log

mc12345678:

I don't have an answer, but may I sugggest for completeness that the found thread be linked to here and vice versa? Hopefully an answer can be made/identified?!

Here it is.... sounds like same issue but asked regarding v1.5.1 back in January 2014

http://www.zen-cart.com/showthread.php?211801

28 Aug 2014, 1:23 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Admin Activity Log Manager HTML display 50 lines instead of entire log

It's a bit of a kludge:yuck:, but you could edit /YOUR_ADMIN/admin_activity.php to change the number of lines per page:

$action = (isset($_GET['action']) ? $_GET['action'] : '');
$start = (isset($_GET['s']) ? (int)$_GET['s'] : 0);
$perpage = (isset($_GET['p']) ? (int)$_GET['p'] : [B]50[/B]);

The header comments for the file indicate the (eventual) plan to include the per-page count as a selectable item.