Hello,
Is there any way to show parent album name other then the breadcrumb thing ?
I have it like for each user
User > Subalbums > Subalbums
User2 > Subalbums > Subalbums
And i need to show the User album name on the subalbum pages but seperately then the bedcrumbs on top...
Any way?
Sorry to bother you again but let me explain what i need again.
I have 10 main albums called User1, User2, blah blah . and i have 2 level sub albums in all of the main albums.
What i want to do is Show main album name on Top of the subalbums.
Like if i am on
User1> Trips > Someplace
I want to show User1 on top of the page.
printGalleryTitle() prints the gallery title, i don't need that.
Thanks in advance if anyone can help
Ahh ok. I think I understand. On mine, I have it set to show the breadcrumbs with the gallery root in the breadcrumbs. So mine might look like Gallery > User1 > Trips > Someplace. What you can do for that is use that code snippet from before. Instead of [0] we want [1]. The albums are stored in an array [Gallery, User1, Trips]. I haven't tested any of this, but try this:
``
Let me know if that works.
ok that is working when i am in User > album or USer > Album > Album
But when i am just on user it gives the Fatal error: Call to a member function on a non-object in error
ANy fix for that ?
Or any way of just showing this code in the sub albums and not the main ?
Thanks a lot for your help so far elderz