![]() |
|
PHP include - gallery index and album view on one page - 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: PHP include - gallery index and album view on one page (/thread-7404.html) |
PHP include - gallery index and album view on one page - willith - 2010-07-30 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! PHP include - gallery index and album view on one page - sbillard - 2010-07-30 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. PHP include - gallery index and album view on one page - willith - 2010-07-30 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. Thanks PHP include - gallery index and album view on one page - sbillard - 2010-07-30 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. |