Distinguish Album from SubAlbum ?

VictorZ

Joined: 2007-09-20
Posts: 24
Posted: Sun, 2009-09-06 17:07

I have figured out IF statements to use when determining whether an album or photo page is being displayed (in order to control whether some information is shown/withheld in headers, etc..)

Is there a similar test to determine whether a viewed page is an Album vs. a SubAlbum?

Thanks!

Victor Z

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-09-06 23:11

FAQ: How to set/use Gallery in debug mode?
might help, but in the end all albums are sub-albums of the root album.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
VictorZ

Joined: 2007-09-20
Posts: 24
Posted: Mon, 2009-09-07 15:15

Dave,

Thanks again for your response. "...in the end, all albums are sub-albums..." Well, yeah, duh! I should have thought of that before asking. :-)

Debug mode is one of those "that's more than I wanted to know" tools! A wealth of information to be sure, but a bit overwhelming to sort through. I'm going to have to sift through that over time and see what I can make out of it. The desired mods aren't critical, but would be nice to have.

Victor