Member
Member
corinne   25-06-2008, 12:24
#1

Hello,

I'm preparing a gallery which has a very particular display.
I'm wanting my main categories to only contain subcategories (and not images).
Actually, it works, see : http://207.45.186.114/~ceruleum/galerie/ateliers

My problem is that the PageNav appears anyway in the album page... and that if I comment it out, it doesn't appear anymore in the sub-album, where the images lie.

Is there any ready function that could allow me to show it only where there are actually images(subcategories)? i.e. http://207.45.186.114/~ceruleum/galerie/ateliers/gravure/

Many thanks in advance for your help,
Corinne

Administrator
Administrator
acrylian   25-06-2008, 12:57
#2

Sure, use this with an if/else to check if there are any images: http://www.zenphoto.org/documentation-official/zenphoto/_template-functions.php.html#functiongetNumImages

Member
Member
sbillard   25-06-2008, 16:04
#3

You can also set your CSS to make the inactive links not visible.

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