![]() |
|
Archiv view - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Archiv view (/thread-2728.html) |
Archiv view - PierreSnugg - 2008-04-23 Hy, i still got a problem with my realisation.... My index.php now leads directly to image.php (thanks to acrylian) where i got a big view image and the thumbs under it. The last thing i want to ask if it´s possible to style the archiv view, or maybe the album.php (unless i don´t use it right now) to get the following structure: Album1 Album2 Album3 etc. You know, what i mean.... So the idea is if someone comes to my page he choses on index a Album, zenphoto leads him directly to image.php and if he want´s to view all images he should get a list of all albums with all image-thumbs below. is that possible? Archiv view - acrylian - 2008-04-23 As I stated on your other thread, it is possible. So here a little code: Archiv view - PierreSnugg - 2008-04-23 Even better: I added this directly to my archiv view: [code] Archiv view - acrylian - 2008-04-23 I don't know exactly what you mean. The code above (both mine and your mod) should print the thumbs to each album in the loop. Archiv view - gerben - 2008-04-23 @PierreSnugg at the start of your while(next_album()) loop you could print the album title, and you could make each section (album title and it's thumbs) a paragraph, while (next_album)
endwhile Archiv view - PierreSnugg - 2008-04-23 Here we go! Works perfect... i wrote: ` Archiv view - acrylian - 2008-04-23 Ok, if that was all, you could have looked at index.php or album.php to see how to get the album title. |