Junior Member
Junior Member
jmm   2008-07-16, 09:04
#1

Hi, this is my first post here and i have to say it .. this is a great community, and offcourse zenphoto simply rocks ... but let me say what bring me here.

1- I installed zenphoto and everything works simply fine, installed themes and everething in it's right place, but when anyone try to post a comment it simply doesn't work i try in various themes and same problem with them all. In those that have the comments form in the page i can fill it, post it, but nothing happens, in my actual theme (JoshuaInk) i click in the comment link but again nothing happens ... I'm using 1.1.7 zenphoto's ver

2- I need to remove the number of photos, from the albums, or at least correct the number of photos that appear in joshuaink theme.. i'll explain in my front page it shows the albums that i have in zenphoto, but in this albums i got sub albums that have the photos in them. I would like to remove or correct the tag that shows in the albums [0 photos] or just correct them showing the number of albums.

check it here http://www.josebarbosa.co.uk/zenphoto/

Member
Member
Connie   2008-07-16, 09:27
#2

2- you must take out that number of images from the album.php in your theme

have a look in the template to find something like getNumImages, this gets the number of images in an album as getNumSubalbums gets the number of Subalbums for example

so take off that chunk from the template (keep a copy!) and find out if you get rid of that information!

Administrator
Administrator
acrylian   2008-07-16, 09:28
#3
  1. Does that happen with one of hte 4 standard themes, too? Josuaink is a 3rd party theme and may not work correctly with 1.1.7.

  2. We have several functions for that:
    http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functiongetNumImages
    http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functiongetNumSubalbums

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.