Unpublished Album Text or Notification

Is there any way to display a line of text (or an image) that would indicate an album's published status? Essentially, if an album is unpublished, i would like the text 'private' or 'unpublished' to appear next to the description. If there is a tag i can use, i can add it to the template.

thanks

Comments

  • album=>get('show') will return a '1' if the album is published and a '0' if not.
  • thanks. for clarification if anyone else runs into this problem, there is also a method called getShow(), which I assumed would return the necessary value as long as it was within the album's while loop. Unfortunately, this didn't work.
    In case anyone wants the answer, my final solution was:

    echo $_zp_current_album->get('show');
  • Strange that the getShow() method failed for you since its implementation is exactly the same as the above code. Returns the same database field.
Sign In or Register to comment.