View Full Version : Homepage Layout options Not working, please help
dfg1983
Dec-19-2008, 09:53 AM
None of the features that I would like to display on my home page work; either on the separate (Dup) one, or my original. if you where to look at the "homepage layout" drop down on my separate "galleries" page that is linked to the "search" button on my nav bar you would notice that the "bio", "photo timeline", "top keywords", "most popular photos", and "around the world" options are all checked, yet the page is mysteriously blank. Furthermore if I de-select the "bio" option form either the "home page" or the duplicated "galleries" page listed under "Search"it takes off my slide show from my homepage, but does nothing to the search page. How do I fix these problems?"
Andy
Dec-19-2008, 09:56 AM
Hello!
We want to help. In order to help, we need to know your site name :D
dfg1983
Dec-19-2008, 09:58 AM
Hello!
We want to help. In order to help, we need to know your site name :D
theworldiexposed.com
Andy
Dec-19-2008, 10:00 AM
Hi, use this :D
.notLoggedIn .homepage #featuredBox {display:none;}
.notLoggedIn .galleries #categoriesBox {display:block !important;}
.notLoggedIn .homepage #galleriesBox,
.notLoggedIn .homepage #categoriesBox,
.notLoggedIn .homepage #featuredBox {
display: none;
}
then the boxes will show to YOU when logged in but not to visitors.
dfg1983
Dec-19-2008, 10:06 AM
Hi, use this :D
.notLoggedIn .homepage #featuredBox {display:none;}
.notLoggedIn .galleries #categoriesBox {display:block !important;}
.notLoggedIn .homepage #galleriesBox,
.notLoggedIn .homepage #categoriesBox,
.notLoggedIn .homepage #featuredBox {
display: none;
}
then the boxes will show to YOU when logged in but not to visitors.
Thanks, I will do that, but what I am trying to do is get the boxes to show up under my duplicated homepage that I have listed under "search" so that visitors can see them. Similar to one of your demo sites that had the map feature on a second homepage. I am trying to do the same thing, I have the second dup home page working under the "Search" button on my navbar. Yet none of the options under the "Homepage Layout" drop-down show up when checked.
Andy
Dec-19-2008, 10:13 AM
stay tuned, some cavalry will come :thumb
Allen
Dec-19-2008, 10:28 AM
Thanks, I will do that, but what I am trying to do is get the boxes to show up under my duplicated homepage that I have listed under "search" so that visitors can see them. Similar to one of your demo sites that had the map feature on a second homepage. I am trying to do the same thing, I have the second dup home page working under the "Search" button on my navbar. Yet none of the options under the "Homepage Layout" drop-down show up when checked. Try this
Remove the extra one of these from your footer javascript. You have two of them
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
Remove this from your footer, it's already in your footer javascript.
<script>
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
</script>
Remove all these from your CSS
.homepage #featuredBox {display:none;}
.galleries #categoriesBox {display:block !important;}
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
/* FIND PAGE */
.find #bioBox,
.find #categoriesBox,
.find #galleriesBox {
display: none !important;
}
.find #keywordsBox {
display: block !important;
}
.find #datesBox {
display: block !important;
}
.find #mapBox {
display: block !important;
}
#map {height: 500px !important;}
.find #popularPhotos {
display: block !important;
}
.find #findText {display: block !important;}
.homepage #popularPhotos,
.homepage #mapBox,
.homepage #datesBox,
.homepage #findText,
.homepage #keywordsBox {display: none;}
and replace with this.
.homepage #popularPhotos,
.homepage #mapBox,
.homepage #datesBox,
.homepage #findText,
.homepage #keywordsBox,
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #popularPhotos,
.galleries #mapBox,
.galleries #datesBox,
.galleries #findText,
.galleries #keywordsBox,
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
dfg1983
Dec-19-2008, 11:32 AM
Try this
Remove the extra one of these from your footer javascript. You have two of them
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
Remove this from your footer, it's already in your footer javascript.
<script>
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
</script>
Remove all these from your CSS
.homepage #featuredBox {display:none;}
.galleries #categoriesBox {display:block !important;}
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
/* FIND PAGE */
.find #bioBox,
.find #categoriesBox,
.find #galleriesBox {
display: none !important;
}
.find #keywordsBox {
display: block !important;
}
.find #datesBox {
display: block !important;
}
.find #mapBox {
display: block !important;
}
#map {height: 500px !important;}
.find #popularPhotos {
display: block !important;
}
.find #findText {display: block !important;}
.homepage #popularPhotos,
.homepage #mapBox,
.homepage #datesBox,
.homepage #findText,
.homepage #keywordsBox {display: none;}
and replace with this.
.homepage #popularPhotos,
.homepage #mapBox,
.homepage #datesBox,
.homepage #findText,
.homepage #keywordsBox,
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #popularPhotos,
.galleries #mapBox,
.galleries #datesBox,
.galleries #findText,
.galleries #keywordsBox,
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
Awesome, its working. Thank you very much :clap
dfg1983
Dec-19-2008, 11:59 AM
Awesome, its working. Thank you very much :clap
Ok, so now a new problem has arisen, now I cannot edit my slide show on my homepage, if I hit edit by word "bio" the slideshow disappears and I am left with a blank screen where the slideshow was.
Allen
Dec-19-2008, 12:06 PM
Ok, so now a new problem has arisen, now I cannot edit my slide show on my homepage, if I hit edit by word "bio" the slideshow disappears and I am left with a blank screen where the slideshow was.
Probably have an unclosed tag in there. In your control panel under the
settings tab find Bio: change in the middle of one of the lines.
dfg1983
Dec-19-2008, 12:46 PM
Probably have an unclosed tag in there. In your control panel under the
settings tab find Bio: change in the middle of one of the lines.
Got it, thanks again.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.