PDA

View Full Version : Gallery "structure"


jpineau
Jul-19-2009, 09:44 AM
Hello and thanks in advanced for your replies.

I am trying to create some new galleries (actually galleries within galleries) and am trying to hide them from view but make them available for family members. I have created a passworded gallery named Family and subcatergories 2009 and then a couple galleries under that Janell & Alex Wedding and Matthew.

I was hoping only Family would appear as a protected gallery and once that was opened viewers would see a 2009 link and then under that a Janell & Alex Wedding gallery and a Matthew gallery.

The only way I appear to be able to upload files using MacDaddy is if the gallery is public - is that true? Otherwise MacDaddy doesn't appear to see it.

Right now I have the following password protected galleries listed - Family (with nothing in it), Janell & Alex Wedding (4 photos thus far for testing) and Matthew (1 photo for testing).

Is there anyway to hide the family subgalleries so they only appear when someone is in the Family gallery, but still allow me to upload files?

Galleries
---Flowers
---Miscellaneous
---Family
-----2009
-------Janell & Alex Wedding
-------Matthew

I hope I have explained what I'm trying to accomplish so it makes sense to everyone.

JP

jpineau
Jul-19-2009, 10:05 AM
I think I have figured it out by using categories vs galleries. Is that the preferred - or only - method to achieve this?

JP

jfriend
Jul-19-2009, 10:13 AM
I think I have figured it out by using categories vs galleries. Is that the preferred - or only - method to achieve this?

JP If you just want to hide the Family category on your homepage, then just do a search for delCategory and you will find a script that will let you hide it.

catkinr
Jul-20-2009, 04:07 PM
If you just want to hide the Family category on your homepage, then just do a search for delCategory and you will find a script that will let you hide it.

John,

I found some delCategory code and implemented it last night on my home PC. It worked great. I went to work this morning and pulled up my site from work on my laptop. The problem is that my hidden catagories came up and displayed for about a second before they dis-appeared.

I guess our network is so slow that it showed the hidden catagories before it had time to run the "Hide" code at the bottom of the webpage.

Any way to make this more bulletprooof ? I can't control the speed of everyone's network.

Thanks,

Bob

jfriend
Jul-20-2009, 04:23 PM
John,

I found some delCategory code and implemented it last night on my home PC. It worked great. I went to work this morning and pulled up my site from work on my laptop. The problem is that my hidden catagories came up and displayed for about a second before they dis-appeared.

I guess our network is so slow that it showed the hidden catagories before it had time to run the "Hide" code at the bottom of the webpage.

Any way to make this more bulletprooof ? I can't control the speed of everyone's network.

Thanks,

Bob There is no "bulletproof" way of hiding a category other than making all the galleries in it be unlisted.

Since you haven't included a link to your site anywhere in your post or anywhere in your dgrin profile, I can't look at what you did to see if there are some improvements that could be made.

It would be possible for someone to write a more sophisticated script where you would hide all categories with CSS (so they would be hidden by default and the page would come up blank until the script runs), then process the delCategory function (while everything is hidden), then programmatically show the remaining galleries. But I don't think anyone has written a script like that.

catkinr
Jul-21-2009, 09:14 PM
John,

Thanks for answering me. I guess for now I will hide all of my galleries.

I am a Power User right now but I am thinking about getting a Professional Account in the next few weeks.

Bob