View Full Version : Galleries do not show on /galleries page
swannPhoto
Jan-31-2009, 06:38 AM
I have followed the instructions in the tutorial to create a separate gallery page.
I have created a gallery page, but the problem is that when I navigate to it I get a 'No Galleries Found' message.
I do have galleries and they are Public
FYI, I have altered the CSS to display the galleries on my homepage for the time being since I can not get to them otherwise.
Has anyone encountered this problem? Any advise?
Thanks!
www.swannphoto.net (http://www.swannphoto.net)
J Allen
Jan-31-2009, 06:46 AM
Do you have your galleries checked to show on your homepage, from the homepage tools button?
http://www.smugmug.com/help/homepage-boxes
Make sure you also have this in your CSS Box:
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
And this in bottom Java-script:
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
swannPhoto
Jan-31-2009, 06:49 AM
Do you have your galleries checked to show on your homepage, from the homepage tools button?
http://www.smugmug.com/help/homepage-boxes
Make sure you also have this in your CSS Box:
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
And this in bottom Java-script:
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
yes, all of the above is set correctly which is what makes it so confusing to me
Barb
Jan-31-2009, 07:44 AM
I have followed the instructions in the tutorial to create a separate gallery page.
I have created a gallery page, but the problem is that when I navigate to it I get a 'No Galleries Found' message.
I do have galleries and they are Public
FYI, I have altered the CSS to display the galleries on my homepage for the time being since I can not get to them otherwise.
Has anyone encountered this problem? Any advise?
Thanks!
www.swannphoto.net (http://www.swannphoto.net)
Hi :)
Can you check now?
You had created a custom category called "Galleries." We get confused when you do that lol. Since your galleries page is called "galleries", having a category with the same name won't work properly with the second galleries page. I deleted the Custom Category Galleries, so you should be all set now.
Barb
Jan-31-2009, 07:46 AM
I have followed the instructions in the tutorial to create a separate gallery page.
I have created a gallery page, but the problem is that when I navigate to it I get a 'No Galleries Found' message.
I do have galleries and they are Public
FYI, I have altered the CSS to display the galleries on my homepage for the time being since I can not get to them otherwise.
Has anyone encountered this problem? Any advise?
Thanks!
www.swannphoto.net (http://www.swannphoto.net)
Hi again :)
I also added an empty div in your custom footer so that you have the small footer instead of the large footer with all the links. Most don't want all those links showing :) Hope that's okay!
swannPhoto
Jan-31-2009, 07:52 AM
Hi again :)
I also added an empty div in your custom footer so that you have the small footer instead of the large footer with all the links. Most don't want all those links showing :) Hope that's okay!
Thank you so much! That was driving me crazy! I was not aware I had the custom gallery.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.