Page 1 of 1

Using passwords

Posted: 01 Dec 2025, 08:30
by andreamarucci
Hello Karl, I'd like that all my gallery is visible only at first level. I'd like that no one can enter a single album if he doesn't have the password so he can only view the albums and their covers without password but not the pictures inside the album

I've a structure like this. Inside the albums there are the pictures. No one without password can see the pictures.

YEAR
--event 001
----album 001
----album 002
--event 002
----album 001
----album 002
--event 003
----album 001
----album 002

Can you suggest me how can I do that?

Re: Using passwords

Posted: 01 Dec 2025, 22:47
by mjau-mjau
andreamarucci wrote: I'd like that all my gallery is visible only at first level. I'd like that no one can enter a single album if he doesn't have the password so he can only view the albums and their covers without password but not the pictures inside the album
I had to read this a couple of times, because there are two separate questions here, and it doesn't seem entirely logical.
andreamarucci wrote:I'd like that all my gallery is visible only at first level.
Like visible only at first level in the main menu? Otherwise, what if someone clicks first level dir "--event 001" what are they supposed to see? You can prevent the menu from showing subfolders from each top-level page settings > Menu > Hide child pages from menu. It doesn't make sense to also hide the subfolders directly from each page ... else how is anyone even gonna find the page? The top-level pages would be empty ...
andreamarucci wrote:I'd like that no one can enter a single album if he doesn't have the password so he can only view the albums and their covers without password but not the pictures inside the album
Yes, so if you add a login on a single-album, the user will be prompted for a login when they try to access the single album. It doesn't really matter if they try to access that single album from the main menu, or from the top-level pages where it is listed in the page. The login will apply no matter what.

So for the login to apply, it's irrelevant if you are hiding the single albums from the menu or not. The login will still apply. If you hide the single albums from the menu, you are doing just that and nothing more: hiding the single albums from the menu.

Re: Using passwords

Posted: 02 Dec 2025, 05:51
by andreamarucci
Thanks Karl for making it clear :-)