Hi, sorry to trouble you.
Situation:
Album
|
|
Subalbum_1 | Subalbum_2 ---Pictures
|
|
Pictures
When I use `printLatestUpdatedAlbums` with `showtitle` it return "Subalbum1" and "Subalbum2" as titles , I have change `$tempalbum->getTitle()` to `$tempalbum->name`
and got "Album/Subalbum_1" and "Album/Subalbum_2" as title.
It's possible to get only "Album" without "Subalbum_1" in title name ?
Comments
Anyway, yes, `$parentalbum = $tempalbum->getParent(); $parentalbumtitle = $parentalbum->name`
http://www.zenphoto.org/documentation/classes/Album.html#methodgetParent
You can thought what this is joke but I really read docs and try to insert getParent() I even saw similar code, as you gave, here in forum... I must be more attentive
Once more thanks!