Feature a gallery but not show it elsewhere?

StevenVStevenV Registered Users Posts: 1,174 Major grins
edited November 7, 2005 in SmugMug Support
It appears not to be possible to put a Private gallery into the Featured Galleries section.

Is there any other way to have a gallery that only shows up in the Featured Galleries section (i.e. not in any other displayed category)?

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited November 4, 2005
    StevenV wrote:
    It appears not to be possible to put a Private gallery into the Featured Galleries section.

    Is there any other way to have a gallery that only shows up in the Featured Galleries section (i.e. not in any other displayed category)?

    No, becuase it has to be public, so it'll be on your homepage either within the categories or as a gallery itself, depending on how you are displaying.

    Hope this helps,
  • StevenVStevenV Registered Users Posts: 1,174 Major grins
    edited November 4, 2005
    andy wrote:
    Hope this helps,
    it helps with understanding though not with getting the effect that I wanted.

    but yes, thanks.
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited November 4, 2005
    One idea, but requires JavaScript
    StevenV wrote:
    It appears not to be possible to put a Private gallery into the Featured Galleries section.

    Is there any other way to have a gallery that only shows up in the Featured Galleries section (i.e. not in any other displayed category)?
    Here's one idea, but it probably requires JavaScript. You could make your gallery public. Put it in a category called "Hidden Galleries" or any name you want. Then, using JavaScript on your home page, you could hide the "Hidden Galleries" category by finding it in your page and setting that one and only one parent <div class="miniBox"> to a style of display:none. You can't do this with only CSS (and shouldn't try it) because CSS will affect all miniBox divs and make all your thumbs disappear (something you probably don't want to happen) - that's why you'd have to use JavaScript to only change one of the miniBox divs. Then, on your gallery page, you could hide the breadcrumb parts that would show it's in that Hidden Galleries category. You could have as many galleries as you want in this special category and feature whichever ones you want.

    This does point out a nice feature request for a smugmug CSS enhancement so that this could be done with CSS. If, like each gallery has a class name specific to each gallery, each thumb in your home page could have the same gallery classname associated with the containing .miniBox, then your goal could all be accomplished with CSS. This would then allow gallery specific styling on your homepage via CSS with no JavaScript. I don't know how many people actually want that, but it would solve your problem and it doesn't really cost smugmug anything to take the same gallery-specific classname (or a close derivative of it) and put it on the containing .miniBox.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • StevenVStevenV Registered Users Posts: 1,174 Major grins
    edited November 4, 2005
    jfriend wrote:
    If, like each gallery has a class name specific to each gallery, each thumb in your home page could have the same gallery classname associated with the containing .miniBox, then your goal could all be accomplished with CSS.
    Actually I did dig through the code ("use the source, Luke") to check for exactly that - the sm guys have done such a great job of tagging everything that I expected to find a classname that I could use.

    Alas, it was not to be found. bncry.gif
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited November 4, 2005
    Maybe we'll get this in the future
    StevenV wrote:
    Actually I did dig through the code ("use the source, Luke") to check for exactly that - the sm guys have done such a great job of tagging everything that I expected to find a classname that I could use.

    Alas, it was not to be found. bncry.gif
    Hopefully, they will add it in the future. JT seems to be continually adding more and more identifying things that aren't in there yet. Hopefully we're going to soon get identifying tags on the different pieces of the camera info so we can show/hide just the pieces we want or style them differently. Maybe he can add this one to the list for the future - identifying tags on each thumb.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • HighLightPhotosHighLightPhotos Registered Users Posts: 68 Big grins
    edited November 5, 2005
    andy wrote:
    No, becuase it has to be public, so it'll be on your homepage either within the categories or as a gallery itself, depending on how you are displaying.

    Hope this helps,
    But this is exactly how I have mine set up!
    http://perfectpixel.smugmug.com/
    I have a Portfolio gallery as the only featured galleries item, and you don't see it in my other galleries because it's private. When I'm logged in it even says "private gallery" under the Portfolio gallery name in the featured section.

    Did I misunderstand the question??
  • StevenVStevenV Registered Users Posts: 1,174 Major grins
    edited November 5, 2005
    Sure enough - it does work! It didn't when I did it the other day, but my gallery was in another category. I saw how you did yours and changed mine a little and now it does exactly what I wanted!

    Is there something special about the 'Portfolio' category, I wonder.
  • Mike LaneMike Lane Registered Users Posts: 7,106 Major grins
    edited November 5, 2005
    StevenV wrote:
    Sure enough - it does work! It didn't when I did it the other day, but my gallery was in another category. I saw how you did yours and changed mine a little and now it does exactly what I wanted!

    Is there something special about the 'Portfolio' category, I wonder.
    Wow, I love the pictures in your portfolio gallery! Really great stuff...
    Y'all don't want to hear me, you just want to dance.

    http://photos.mikelanestudios.com/
  • ruttrutt Registered Users Posts: 6,511 Major grins
    edited November 7, 2005
    This is a good trick. Let me ask again, is the category "Portfolio" significant?

    I tried this for another private gallery application: galleries for communities. I'd really love to be able to have galleries in communities which don't show up in my home page. I'd especially like to be able to highlight them.

    Perhaps with enough javascript?
    If not now, when?
  • StevenVStevenV Registered Users Posts: 1,174 Major grins
    edited November 7, 2005
    rutt wrote:
    This is a good trick. Let me ask again, is the category "Portfolio" significant?
    that's a darn good question, so I'll bump it up for one more time.
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited November 7, 2005
    Not that I've heard of
    StevenV wrote:
    that's a darn good question, so I'll bump it up for one more time.
    You'll probably need someone like JT to answer for sure, but in all the time I've been hanging around here, I've never heard anything to imply that there are any categories that are treated specially.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
Sign In or Register to comment.