PDA

View Full Version : Show both galleries and categories?


OUChamps29
Jul-07-2007, 04:49 PM
Hey everyone,

This is my first post here in the dgrin forums, and I'm just getting started with customizing my Smugmug. I'm a pretty experienced web developer though, so for me it has mostly been a matter of figuring out what div ids and classes Smugmug uses. Anyway, my customization has been going pretty good so far (see http://photos.spencergoad.com).

My question here maybe more about Smugmug functionality than any customization ability. Is it possible to display both my categories and galleries on the home page? They are obviously contained within the same box, and then you specify which one the user sees when you are logged in. Because of this, I'm guessing that is a backend code thing that Smugmug does, and there is nothing we can do about it from the customization side. My ideal setup would really be a "10 most recent galleries" box, then the categories box for navigation to the rest of the pictures. Is this possible with Smugmug's current release?

Another quick question - I implemented Reeves' favorite picture featured gallery js (http://www.dgrin.com/showthread.php?t=27076). Is it possible with this to change it to be the last featured gallery instead of the first?

Thanks in advance for any help you might have guys! :thumb

PBolchover
Jul-07-2007, 07:38 PM
I'm pretty sure that it isn't officially possible. However, here's a potential workaround.

Your category structure is going to be more-or-less static. (For most people, adding a new category is a major event, on a par with redesigning the website.) Why don't you take the html for the category box, and write some javascript to insert that html on the page?

Alternatively, instead of linking to your category structure via thumbnails, you could link to it via a navbar at the top of the page.

OUChamps29
Jul-14-2007, 05:06 PM
Hmm... alright. That's kind of a rough way to do it, but it may be my best option. Thanks for the tips!