Tell me more ×
SmugMug Stack Exchange is a question and answer site for SmugMug developers and end users. It's 100% free, no registration required.

On the homepage of my site, I have the option to show either categories or galleries. Is there any way to show galleries, but using both the category and the gallery name (for example, CategoryName: GalleryName)?

I name my categories by, well, category. I usually name my galleries by date. So I might have Category A, with three galleries named April 1, April 5 and April 10. Then another Category B, with two galleries named April 8 and April 10.

I want to show all five galleries on my home page, but instead of it just showing the five dates (two of which are the same), I would like the five displayed gallery names to be:

Category A: April 1

Category A: April 5

Category B: April 8

Category A: April 10

Category B: April 10

I tried writing my own JS function to modify the displayed gallery names, but as it appears that the Category names aren't accessible via the DOM when in "view gallery" mode (unless I want to try to parse them out of the gallery URLs, which seems fragile at best).

share|improve this question

1 Answer

What you'd like to do goes against what the display of categories on the homepage is for. Displaying of categories on the homepage keeps your homepage cleaner by not listing each gallery and thus each category is only displayed once. To view the content of a category, a visitor can click on the category.

If you'd like all galleries displayed on the homepage, you should change your homepage to display galleries instead.

Then you can edit the gallery title to include the category name in the gallery title and that should get you your desired result.

If this doesn't work for you, you could add a suggestion to our feedback pages.

share|improve this answer
Righto -- I definitely agree that what I want is galleries displayed; my question really had to do more with modifying how the gallery name is displayed. Changing the gallery name to include the category name, which it sounds like might be the only way to do what I'm trying to do, isn't really an elegant option to me. :) – Kevin Apr 11 '12 at 21:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.