Hi!
Long time no see, I'm glad to see that Zenphoto is so successful!
I want to include the Zenpage posts in the Albums-View as follows:
Album 1 (13th of March)
Album 2 (14th of March)
News1 (15th of March)
Album 3 (16th of March)
News2 (18th of March)
and so on.
I have already managed to collect the timestamps and names of the zenpage posts and the albums and I have sorted them by the timestamps. The resulting array looks like this:
array(3) { [0]=> array(3) {
["Datum"]=> int(1343080800)
["Name"]=> string(9) "Test-Post"
["type"]=> string(4) "news" }
...
[2]=> array(3) {
["Datum"]=> int(1343141224)
["Name"]=> string(10) "Test-Album"
["type"]=> string(7) "gallery"
}
Now I am looking for a function like makeAlbumCurrent(); that I can use to output the albums.
Any suggestions?
Cheers!
lamy