admin dashboard log entries


Joined: 2009-08-01
Posts: 7
Posted: Wed, 2009-09-02 16:39


where and how can i change the numbers of entries in the log entries block?

best m.

nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-09-02 18:14

grep -nri "log entries" ./ :)

Looks like you'd edit gallery3/modules/gallery/helpers/gallery_block.php

Search for case "log_entries" and edit:
->orderby(array("timestamp" => "DESC", "id" => "DESC"))->find_all(5);

Should be on or around line 53 if you're using current code:
Like Gallery? Like the support? Donate now!!! See G2 live here