Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams

View Counts

To remove the view counts (Views:) from each photo, edit (as root) the file /usr/share/gallery2/modules/core/templates/blocks/ItemInfo.tpl to change:

  {if !empty($showViewCount) && $item.viewCount > 0}


  {if !empty($showViewCount) && $item.viewCount < 0}

You may also need to go into Admin and run the Maintenance task to delete the template cache to see the effect of the change.

Copyright © 1995-2014 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.