Options

Need Best Approach to selecting 2007 and 2008 Galleries

largelylivinlargelylivin Registered Users Posts: 561 Major grins
My boating photography website http;//smile-123.smugmug.com has a ton of galleries from 2007. Looking ahead to the 2008 season, I would like to implement a simple push-button that would allow clients to select 2007, 2008 or all galleries for all subsequent browsing and searching activities. RIght now all of the galleries that are year specific are tagged with a date in their title.

I am looking for an elegant total solution. I really don't want to have to modify all of my code to accomplish this and would prefer not to have to rearrange my galleries to do this.

A JS solution would appear the way to go but I am concerned that it will significantly slow down the user interface. For example my keywords search is pretty slow. http://smile-123.smugmug.com/keyword/

One way would be a hack to give the effect of having "super-categories" 2007 and 2008. Since I already use the whole cat-subcat-gallery structure the solution to that approach isn't obvious. Also, I would have to make sure the solution will also work for /keywords and /popular.

Ideas?
Brad Newby

http://blue-dog.smugmug.com
http://smile-123.smugmug.com
http://vintage-photos.blogspot.com/

Canon 7D, 100-400L, Mongoose 3.5, hoping for a 500L real soon.

Comments

  • Options
    AllenAllen Registered Users Posts: 10,012 Major grins
    edited January 22, 2008
    My boating photography website http;//smile-123.smugmug.com has a ton of galleries from 2007. Looking ahead to the 2008 season, I would like to implement a simple push-button that would allow clients to select 2007, 2008 or all galleries for all subsequent browsing and searching activities. RIght now all of the galleries that are year specific are tagged with a date in their title.

    I am looking for an elegant total solution. I really don't want to have to modify all of my code to accomplish this and would prefer not to have to rearrange my galleries to do this.

    A JS solution would appear the way to go but I am concerned that it will significantly slow down the user interface. For example my keywords search is pretty slow. http://smile-123.smugmug.com/keyword/

    One way would be a hack to give the effect of having "super-categories" 2007 and 2008. Since I already use the whole cat-subcat-gallery structure the solution to that approach isn't obvious. Also, I would have to make sure the solution will also work for /keywords and /popular.

    Ideas?
    Trying to understand what you have now. If you have separate lists of 2007
    and 2008 categories you can create two pages like this, one for each year
    and link to these 2007 or 2008 pages. Then the single page would contain
    all that's years categories allowing you to keep the same levels.
    Make any sense?
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    largelylivinlargelylivin Registered Users Posts: 561 Major grins
    edited January 22, 2008
    Allen wrote:
    Trying to understand what you have now. If you have separate lists of 2007
    and 2008 categories you can create two pages like this, one for each year
    and link to these 2007 or 2008 pages. Then the single page would contain
    all that's years categories allowing you to keep the same levels.
    Make any sense?

    Thanks Allen, but I don't think that's going to work vewry well for me.
    1. I have nearly 100 galleries from 2007 and expect twice that many in 2008.
    2. This amounts to having 2 home pages. I did that before on my other smugmug site http://blue-dog.smugmug.com and had infinite problems which is why I elected to have a second Pro account for my other business. Bio, featured, popular, etc don't work with two home pages and I use Bio for my slide shows, and I use popular, featured and keywords too.
    3. I think that there is a JS technique to detach/attach galleries from the document structure. I don't actually know how to do this, but I think that's the parth that I'll have to go down unless someone knows of a better hack. I can use JS to parse out the year and then detach categories or more proabaly galleries that ore not the correct year.
    Brad Newby

    http://blue-dog.smugmug.com
    http://smile-123.smugmug.com
    http://vintage-photos.blogspot.com/

    Canon 7D, 100-400L, Mongoose 3.5, hoping for a 500L real soon.
Sign In or Register to comment.