Member
Member
willith   2010-07-30, 14:42
#1

Hi

I am working on a design for my zenphoto installation. Is it possible to include album view along with the gallery index on the same page? I have attempted this however i get the error:

Fatal error: Call to a member function getImages() on a non-object in /home/cabinets/public_html/site/zp-core/template-functions.php on line 1751

I want to avoid resorting to iframes

Thanks!

Member
Member
sbillard   2010-07-30, 14:58
#2

It is certainly possible to do as you wish. But as you know, you must code it in your theme. You should review the themeing guide and the object model documents. Also, probably each of the function documents of the functions you are considering using.

Member
Member
willith   2010-07-30, 22:06
#3

Hi

From what i have experimented with, if i take out and its respective closing tag, my gallery index will just display a link to the current album being viewed. What i want to do is to remain consistent by still displaying links to other albums.
This is really as far as my coding abilities go, so for time being i may instead just create a set of static links to act as my gallery index.
What would be great is some pointers so i could start properly experimenting with a more long term solution with dynamic links. In the mean time i will scour the tutorials and guides and see what i can piece together.

Thanks

Member
Member
sbillard   2010-07-30, 22:19
#4

If you just take out that loop, then NO album will be current. You will have to set up the one you want to be viewed as current. There is a function to do that. Something like makecurrent. Do a search on the functions to find the exact name and its parameters.

I guess I am really not understanding what you want to accomplish. If it is just a list of album links rather than thumbnails, there is printAlbumMenu.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.