Page numbers shown before password is given

Not really a bug? maybe it is?

Are the page numbers/links for a album supossed to be visible if you havent entered the password yet? Looks tacky.

I tried searching forums, i dont think someone else said anything that I know of...

Comments

  • Mine too are visible from Gallery page however, all the do is change the album but password is still required to view. In the background the album is changing but w/o password the visitor can't see.
  • The default password protection prohibits showing the images (or thumbs) If you want more of the page protected you need to add some code to the page. Place `if (checkForPassword()) {`....`}` around the parts you don't want to show.
  • code Member
    ty

    <?php if (!checkForPassword()) { printPageListWithNav("« prev", "next »"); } ?>

    default theme

    are u sure it doesnt have the "!" infront of it? It didnt work without it, works with it.
  • As always, check the documentation on the functions if you aren't sure. Sometimes we respond from memory and our memory is not always so clear as it once was.
  • I have separate Theme Gallery page (separate folder of all files) from all the Theme albums. Which page would I add the code to, if I do want to try this?
  • acrylian Administrator, Developer
    A pretty clear example how to us it is given above....:-)
Sign In or Register to comment.