Set gallery as homepage

chezeturchezetur Registered Users Posts: 2 Beginner grinner
edited September 10, 2009 in SmugMug Support
Hi,

I'd like to set one of my galleries as the landing page of my site. Seems it should be pretty easy but can't manage it for some reason :|

i.e. I want people to see the contents http://www.procissi.com/portraits/portraits when they land at www.procissi.com.

Thanks,

Comments

  • photokandyphotokandy Registered Users Posts: 269 Major grins
    edited September 10, 2009
    chezetur wrote:
    Hi,

    I'd like to set one of my galleries as the landing page of my site. Seems it should be pretty easy but can't manage it for some reason :|

    i.e. I want people to see the contents http://www.procissi.com/portraits/portraits when they land at www.procissi.com.

    Thanks,

    Try adding this to either your Top or Bottom javascript:
    function handleLandingPage ()
    {
        if (window.location.toString().toLowerCase() == "http://www.procissi.com/")
        {
            window.location.href = "http://www.procissi.com/portraits/portraits";
        }
    }
    handleLandingPage();
    
    ~ Kerri, photoKandy Studios ( Facebook | Twitter )

    Need customization services? View our packages or see our templates.

    Note: I won't be offended if you edit my photo and repost it on dgrin -- I'm always open to new interpretations
    and ideas, and any helpful hints, tips, and/or critiques are welcome. Just don't post the edit anywhere else
    but dgrin, please.

    My Gear List
  • chezeturchezetur Registered Users Posts: 2 Beginner grinner
    edited September 10, 2009
    Thanks
    That worked very well and along the way I discovered the magic land of "advanced site-wide customization"... which answers pretty much all of my questions! :)

    Thanks
  • photokandyphotokandy Registered Users Posts: 269 Major grins
    edited September 10, 2009
    chezetur wrote:
    That worked very well and along the way I discovered the magic land of "advanced site-wide customization"... which answers pretty much all of my questions! :)

    Thanks

    You're welcome! Glad it worked.

    And now you're going to be pretty much hooked on doing all sorts of fun customizations to your site! ;-)
    ~ Kerri, photoKandy Studios ( Facebook | Twitter )

    Need customization services? View our packages or see our templates.

    Note: I won't be offended if you edit my photo and repost it on dgrin -- I'm always open to new interpretations
    and ideas, and any helpful hints, tips, and/or critiques are welcome. Just don't post the edit anywhere else
    but dgrin, please.

    My Gear List
Sign In or Register to comment.