G2 front page stacked albums?
HMetal
Joined: 2003-11-09
Posts: 16 |
Posted: Sun, 2005-03-27 08:58 |
So, as a PHP coder and experienced Smarty template user, I've taken the matrix theme and gotten rid of the sidebar. ref: My gallery 2 site I've moved a few items to the pathbar so my albums and items are uncluttered without that ugly item wrapping, that used to happen if the item was too large to fit to the right of the now-hidden sidebar. I've moved the search form into the header, to the far-right of the Gallery logo. However, there is one lingering problem to which I cannot find a solution.. In Gallery v1, the front page showed as a stacked list of albums, with each user's sub-albums optionally listed in a right-hand column, beside his album title, summary and description (etc). Can I get G2 to list albums stacked on the front page but still have the albums within each user's gallery in a row/column layout? If it's not done easily, is there a flag or variable in the code that I can check for to see if we're on the front page and programmatically do the stacked layout using another/different template (which I would, of course, have to write)? Is this even possible? |
|
Posts: 239
The "classic" layout is what you are looking for. You will want to edit "classic" instead of matrix, and give it your new changes - then assign that to your root album. Keep your "new" matrix as the default and all new sub albums should have that layout.
Also, when you are "finished" or as you go, it would be nice if you posted copies of your layout for others to try out and learn from.
Thanks,
Robert
Posts: 16
Thanks Robert,
I'll give that a shot, and will definitely post the local files for the layout I'm working on, once completed.