Sharegroups and Domain Names

SamirDSamirD Registered Users Posts: 3,474 Major grins
edited January 20, 2009 in SmugMug Support
I don't know exactly what I'm doing wrong or have set wrong, but I can't seem to get a sharegroup to work right.

This link works:
http://www.smugmug.com/share/T35WWN5vvPH0w

But this link that it gave me during setup doesn't: :dunno
http://huntsvillecarscene.smugmug.com/share/T35WWN5vvPH0w

I'm not exactly sure what is preventing it from working with the domain name. There is some CSS customization on my site, but it's from before SM even had sharegroups. :rofl

Any assistance appreciated.
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
Want faster uploading? Vote for FTP!

Comments

  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited January 19, 2009
    In your customization, this CSS rule is hiding all the content of the sharegroup. Remove that rule and your sharegroup works. The www.smugmug.com link works because it bypasses your customization. So, remove this CSS rule:

    #content {display:none;} /* removes no gallery msg on homepage */

    This generic a rule is a very bad idea because there are lots of things that live in the content div. Password prompts, search results, keyword search, etc...

    If you wanted to hide something that was in a #content, then you need to scope it a lot more specifically so it won't hide all these other things like:

    .homepage #content {display:none;}
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited January 20, 2009
    Thank you for the reply. thumb.gif I knew it had to be something like that. wings.gif

    That's actually a part of my homepage that's been broken for a while anyways. It doesn't show the html message I've put in there and instead seems to hide everything. Will the code you posted above get rid of only the no galleries message on the homepage? I believe that's all I need to do on the homepage, although I have to admit it has been a few years since I've touched the CSS on my site. Thank you again for the help. bowdown.gif
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited January 20, 2009
    SamirD wrote:
    Thank you for the reply. thumb.gif I knew it had to be something like that. wings.gif

    That's actually a part of my homepage that's been broken for a while anyways. It doesn't show the html message I've put in there and instead seems to hide everything. Will the code you posted above get rid of only the no galleries message on the homepage? I believe that's all I need to do on the homepage, although I have to admit it has been a few years since I've touched the CSS on my site. Thank you again for the help. bowdown.gif

    There is no easy way with CSS to get rid of just that "No galleries found" message on your homepage without affecting other things on your homepage. Right now nothing shows on your homepage. What do you want to show on your homepage?

    If you aren't going to displayanything else on your homepage (which doesn't seem like a useful plan), then you could use this CSS to get rid of the "No galleries found" message. But, if you had other things on your homepage, this CSS might mess up some of those other things - I'd have to see them specifically to know.

    #homepage h2.title.nomargin, #homepage p {display:none;}
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited January 20, 2009
    jfriend wrote:
    There is no easy way with CSS to get rid of just that "No galleries found" message on your homepage without affecting other things on your homepage. Right now nothing shows on your homepage. What do you want to show on your homepage?

    If you aren't going to displayanything else on your homepage (which doesn't seem like a useful plan), then you could use this CSS to get rid of the "No galleries found" message. But, if you had other things on your homepage, this CSS might mess up some of those other things - I'd have to see them specifically to know.

    #homepage h2.title.nomargin, #homepage p {display:none;}
    It's kinda complicated what I've done with my SM homepage, but basically it mirrors another web site to make for what users think is a seamless single website experience.

    If people ever try to hit the homepage directly, I want them to see a similar error message to what they would see from the website. That worked for a short time after I set it up. Some upgrade on SM broke it and I never bothered fixing it again since it was just blank.

    I'm going to try the CSS you posted and see if it does what I want. If not, I'll report back here and we'll go from there. thumb.gif
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited January 20, 2009
    Code worked great! Did exactly what I wanted. clap.gif SM rules! :ivar
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
Sign In or Register to comment.