![]() |
|
How do I deal with the most recent album on it's own? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: How do I deal with the most recent album on it's own? (/thread-2491.html) |
How do I deal with the most recent album on it's own? - Witchhunter - 21-03-2008 I'm currently creating my own theme, however I've come across a bit of a problem. I want the most recent album to be styled very differently to other albums on the index page. I haven't been able to work out a way to do this though. Here's an image to show what the layout is generally going to look like. Help would be much appreciated. How do I deal with the most recent album on it's own? - sbillard - 21-03-2008 Do you want the thumbnail stiled differently or do you want the album to have a different style when it is displayed? If the former, are you displaying album thumbs in "most recent" order? If so then the most recent album will be the first in the list. Then you need only put in a counter in the next album loop and put out a different DIV id when the count == 1. If the latter, there is a new feature comming that will allow you to assign different themes (or theme options) to individual albums. How do I deal with the most recent album on it's own? - Witchhunter - 21-03-2008 The html should actually be the same for each of the listed album thumbnails, so the former. I'm trying to get a full size image instead of a thumbnail and a different style of album title for the first (most recent album). Yes the albums are in most recent order, but I don't think I know enough to customize it myself, sorry. Could you explain how I would put in a counter for this... `
` Actually that's just lazy, let me take a look and if I really can't do it I'll come back :) [b][edit][/b] hah and I just figured it out, I'm not such a n00b after all! Thanks for the help :) How do I deal with the most recent album on it's own? - Witchhunter - 21-03-2008 fwiw for anyone else; `` id="album" is given to the first album, class="albumThumb" is then given to each subsequent album. You can adapt this code to do much more than that though. How do I deal with the most recent album on it's own? - sbillard - 22-03-2008
How do I deal with the most recent album on it's own? - Witchhunter - 22-03-2008 Good point, thanks. How do I deal with the most recent album on it's own? - Witchhunter - 22-03-2008 Sorry I can't get that to work, it just gives me an error message that function nextAlbum doesn't exist. How do I deal with the most recent album on it's own? - Witchhunter - 22-03-2008 I can't get this working, it just keeps giving me this error: [b]Fatal error: Call to undefined function nextalbum() in E:\xampp\htdocs_sites\zenphoto\themes\test\index.php on line 65[/b] Line 65 is How do I deal with the most recent album on it's own? - Witchhunter - 23-03-2008 Still can't figure out how to get this working, can't anyone help solve this? :( How do I deal with the most recent album on it's own? - Witchhunter - 23-03-2008 Never mind, got it :s sleep is a good thing. |