This tutorial will explain and guide you through the process of setting up your Power- or Pro-smugmug account with a custom header, navbar, homepage with a slideshow but no galleries/categories and a separate page for the galleries/categories.
Examples of this can be found here:
www.moonriverphotography.com;
ivar.smugmug.com;
www.photoscapedesign.com. Also, many other sites are set up like this.
The Galleries Page I
For the Galleries page we are going to use one of
Devbobo's tricks. See the dgrin thread
here.
What it does, in short, is it duplicates the homepage, but makes it separately adressable for us.
Add this to your "Bottom javascript":
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
Now we have your 'normal' homepage which is accessible at XXXXX.smugmug.com and your 'duplicate' homepage which is accessible at XXXXX.smugmug.com/galleries
The Galleries Page I
For the Galleries page we are going to use one of
Devbobo's tricks. See the dgrin thread
here.
What it does, in short, is it duplicates the homepage, but makes it separately adressable for us.
Add this to your "Bottom javascript":
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
Now we have your 'normal' homepage which is accessible at XXXXX.smugmug.com and your 'duplicate' homepage which is accessible at XXXXX.smugmug.com/galleries
Sizes: S •
M •
Large |
Your preferred size: S •
M •
Large •
O