PDA

View Full Version : Creating SubCategory Help


phorbin1128
Apr-04-2010, 04:58 PM
I'm trying to create the following:

Galleries>Sports>Wrestling>Tournament Name

Galleries = Category
Sports = Category
Wrestling = Category
Tournament Name = Gallery with images

I want to be able to do this for multiple sports (softball, lacrosse, etc) but I can't seem to get any of the subcategories created.

Also, if I go to New Category, and Select SubCategory, how can I delete the items that are in there that are no longer needed?

Thank You

jfriend
Apr-04-2010, 05:01 PM
You only get one level of category, then one level of sub-category. Empty categories and empty sub-categories will not show to your viewers so no need to worry about deleting pre-built categories.

I'd suggest:

Galleries = 2nd copy of homepage
Sports = category
Wrestling = sub-category
Tournament name = gallery

You can create a 2nd copy of your homepage for the galleries page here (http://dgrin.smugmug.com/gallery/2160039) starting with the step labeled "The Galleries Page I".

schmoo
Apr-04-2010, 05:13 PM
jfriend has the right idea. :thumb We only support three tiers of nesting, but you can create as many custom Categories or Subcategories as you wish. You can have as many galleries in a Category or a Subcategory as you need, too.

http://www.smugmug.com/help/upload-photo

This page should give you everything you need to know about creating and managing your custom Categories and Subcategories.

One way that many of our customers organize their site is like this:

Category > Subcategory > Gallery

Sports (category) > Wrestling (subcategory) > Tournament 1, 2, 3, etc (galleries)


I hope this helps but of course if you're stuck just let us know here in this thread, or you can write to us directly!

-Steph

phorbin1128
Apr-04-2010, 06:42 PM
Thanks for the quick responses....

I changed the javascript and css as suggested, but I don't see any difference.

I also deleted my category titled Galleries, and now have Categories of Sports, People, etc... and these have photos in them, but I can't seem to locate these galleries....

Basically I would like the home page to have a picture or slideshow, and upper right link to Galleries.... Once you get to Galleries, I would like Thumbnails for each gallery (Sports for example) and then Subcategory within each (Baseball, lacrosse) and then a gallery page based on the event date.... I would also like to keep each page looking as neat as possible..

Sorry, but I am very confused with this, and am not sure if I am explaining this correctly. I appreciate all the help...

link to my page is: http://edsekula.smugmug.com/

jfriend
Apr-04-2010, 07:19 PM
Thanks for the quick responses....

I changed the javascript and css as suggested, but I don't see any difference.

I also deleted my category titled Galleries, and now have Categories of Sports, People, etc... and these have photos in them, but I can't seem to locate these galleries....

Basically I would like the home page to have a picture or slideshow, and upper right link to Galleries.... Once you get to Galleries, I would like Thumbnails for each gallery (Sports for example) and then Subcategory within each (Baseball, lacrosse) and then a gallery page based on the event date.... I would also like to keep each page looking as neat as possible..

Sorry, but I am very confused with this, and am not sure if I am explaining this correctly. I appreciate all the help...

link to my page is: http://edsekula.smugmug.com/ You're close.

1) Change the link in your navbar to this (with a lowercase g in galleries):
http://edsekula.smugmug.com/galleries

2) Add the line in red to your CSS:

.galleries #slideshowBox,
.galleries #bioBox {
display: none;
}

phorbin1128
Apr-05-2010, 04:03 AM
John,

I added those changes however if I click on Galleries, it just takes me to the homepage slideshow and I don't see any of my galleries or categories. This is the same in Visitor view as well.

http://edsekula.smugmug.com

http://edsekula.smugmug.com/Galleries

If I try to add photos, it shows that I have existing galleries

jfriend
Apr-05-2010, 05:36 AM
John,

I added those changes however if I click on Galleries, it just takes me to the homepage slideshow and I don't see any of my galleries or categories. This is the same in Visitor view as well.

http://edsekula.smugmug.com

http://edsekula.smugmug.com/Galleries

If I try to add photos, it shows that I have existing galleries You did not make the first change. Your galleries page is on:

http://edsekula.smugmug.com/galleries

NOT on:

http://edsekula.smugmug.com/Galleries

You have to change the link in your navbar to reflect this.

phorbin1128
Apr-05-2010, 08:53 AM
John,

the only place i see to modify is in the Easy customization,and it looks to be correct there. Is it elsewhere?

Thanks

jfriend
Apr-05-2010, 09:57 AM
John,

the only place i see to modify is in the Easy customization,and it looks to be correct there. Is it elsewhere?

ThanksClicking on the logo works. But clicking on the Galleries item in the navbar doesn't work because it doesn't have the right capitalization in the URL (it's still got a capital G in the link). You need to change it in easy customizer. Perhaps, you might need to change it to something else, save it, then change it to http://edsekula.smugmug.com/galleries to get it to take.

FYI, you could also fix it by making the javascript code for the galleries page case insensitive. You could do that by changing this code in your bottom javascript from this:

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}


to this:

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)", "i");
return re.test(window.location)
}

phorbin1128
Apr-06-2010, 09:12 AM
John,

Changing that code worked and all seems to be back to normal. Thanks for your quick responses, greatly appreciated..

If you have any other suggestions or recommendations to the page, please let me know.

Thanks Again