A custom "view" of album.tpl - to help with customization
spenlinhauer
Joined: 2006-05-17
Posts: 17 |
Posted: Wed, 2006-10-04 22:32 |
Ok - So I have "wasted" the whole day working on this. But in anycase - I understand Album.tpl a whole lot more now. I started out trying to understand where/what to modify so that the name of an album is ABOVE the thumbnail when there are sub-albums, but the "title" of the photo is UNDER the thumbnail on the "last page" but not on the actual photo page. I read about options to know when you are on the "TOP" album, but that code would not always work for a sub-album, as you are not always at the same level. I haven't figured it out yet - but after I digest(that's not think about it) I'll probably be able to get the next step closer. Using Matrix theme here, and the file you are about to see is a modified version of the standard album.tpl. You can see the code in action at: I'll probably try again in a couple of days. SEPP |
|
Posts: 4
Hey spenlinhauer, your gallery looks great. Can you tell me what all did u modify in album.tpl to achieve this?
thanks.
Posts: 46
Unfortunately done still with tables. Try it with floated div's instead of table cells. It means less code and keeps compatibility with buggy IE6.
Posts: 808
If you want a theme with floated divs you need to use floatrix as a base instead of Matrix.