PDA

View Full Version : multiple homepages, and hiding categories on specific homepage only


apexonephoto
Oct-07-2007, 06:11 AM
Hello All,

My problem is that I would like to have a slideshow homepage, a galleries2006 homepage, a galleries2007 homepage and eventually a galleries2008 page.

I can't change the format of my categories>sub-categories>galleries, as this system is working ideal for me.

I understand how to make multiple homepages, and have already done so. With having 3 years of photos, I do not know how to show certain categories (2006) on the galleries2006 homepage only. I also know how to use the delete category method, but not how to use it on certain homepages. I do not believe private galleries will work, and I have searched for a method to figure this out on my own, but to no avail.

Thanks in advance

Allen
Oct-07-2007, 07:43 AM
Hello All,

My problem is that I would like to have a slideshow homepage, a galleries2006 homepage, a galleries2007 homepage and eventually a galleries2008 page.

I can't change the format of my categories>sub-categories>galleries, as this system is working ideal for me.

I understand how to make multiple homepages, and have already done so. With having 3 years of photos, I do not know how to show certain categories (2006) on the galleries2006 homepage only. I also know how to use the delete category method, but not how to use it on certain homepages. I do not believe private galleries will work, and I have searched for a method to figure this out on my own, but to no avail.

Thanks in advance Looking at this in the slideshow script looks like a lead. No nuthin' about this
stuf so just thinking outside the box.:D

This looks like it could be used for page selection in an "if" statement.
Rough idea, would need scriptdude.

if (YD.hasClass(document.body,'homepage') &&
!YD.hasClass(document.body,'galleries2006|galleries2007'))
{-- delete cats script}
else if (YD.hasClass(document.body,'galleries2006') &&
!YD.hasClass(document.body,'homepage|galleries2007'))
{-- delete cats script}
else if (YD.hasClass(document.body,'galleries2007') &&
!YD.hasClass(document.body,'homepage|galleries2006'))
{-- delete cats script}

Post in the hacks forum and see if comeone can wirte it for you.