List of SubAlbum themes?

Does anyone know all of the themes that support subalbums? I only know of Chili-Light & Sub-Albums Testing Theme by Tristan.

Also, is it hard to hard subalbum support to any theme?

Comments

  • trisweb Administrator
    You named 'em all that I know of unfortunately...

    It's not very hard at all, you just have to decide how you want to do it. The idea is basically to copy the `while(next_album()):` loop into album.php, which is where the subalbums of that album will be printed. But of course, it's entirely up to you how they're displayed and styled, so that's the hard part.

    All the themes released with 1.1 in a month or two will be ported to support sub-albums in some way, just in case you're wondering.

    If anyone is interested in adding sub-album functionality to the current themes, please let me know!
  • Ill make the rest of mine subalbum compatible and I can start working on the ones that come with zenphoto.. that is something in my skillset..

    and yeah.. it really isnt that hard if you wanted to do it yourself. just like Tristan said.. is is really just a matter of copying and pasting the code then just cleaning up any css issues.. which so far for me have really been minimal.
  • @trisweb I am very fond of the Cimi theme and ChiliLight2. The latter is covered but I am hoping that Cimi works out.
  • I have a copy of Effervescence that I've modified for subalbums, which seems to work OK for me. I'll just have to get around to making it public. My other theme, which isn't public yet either has subalbums.

    And it really is as easy as Tristan and Chili say. Just copy and paste and then clean up the CSS later. Use the testing-dev theme as your guide for how the loops work. I also noted that it's a good idea to put a "placeholder" in for any albums that don't have subalbums, or albums that have subalbums but no images in the root album. (Does that make sense?)

    Guess I better get busy. :)
  • err.. after starting to dig into it.. you also need to add the new gallery nav with the new breadcrumb method.... still a minor obstacle
  • This is the theme Audibles 1.5, it now works with subalbums.
  • Cool. @aitf311, you should post that on the wiki under themes->Audible. I already have created a spot for you, just update it (edit the wiki page) and attach the new zip to the wiki for everyone (just in case your link goes down as posted above)
  • trisweb Administrator
    Very nicely done aitf311 -- I love the way you display images beside or under the sub-album list based on the numbers of them. It's a very clean well-made theme. Would it be OK to include in the default distribution?
  • I would suggest adding sub album support in the theme description.

    I have an issue where I have 8 subalbums, with descriptions for each. When the description is too long, the sub album layout gets all messed up. Think you could fix? Can't post link, its for my kids.
  • trisweb, of course it would be ok! i will check out the error sabatoge
  • Effervescence 1.1 now includes subalbum support. It's now on the wiki at: http://www.zenphoto.org/trac/wiki/ZenphotoThemes#EffervescenceTheme.

    I also fixed the random image function to include prefix support (it was hardcoded before) and some other little minor tweaks like moving the customfunctions file from the zen directory to the theme directory (makes upgrades to the core zenphoto code easier)
  • Could someone help me setup sub albums using andreyphoto theme???
  • beoba Member
    How many of the default themes have been converted? I'm planning on converting Sterile before modifying it to match my site, and figured you'd like a patch once I've done that (unless someone else has already done it, and their patch just hasn't yet been added to SVN)
  • beoba Member
    Well, I just did it anyway, and posted my modifications to the tracker as a patch. Figured if it wasn't in SVN then it probably hasn't been done yet :)
  • trisweb Administrator
    Bingo, that hadn't been touched yet. :-) Thanks!
Sign In or Register to comment.