![]() |
|
custom hardcoded album for flash panoramas, how to use zenphoto functions - 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: custom hardcoded album for flash panoramas, how to use zenphoto functions (/thread-5561.html) |
custom hardcoded album for flash panoramas, how to use zenphoto functions - DrSlony - 2009-07-28 Hey http://www.panopixel.org/zenphoto/ bottom-left link. My theme resides in /public_html/zenphoto/themes/pp/ When I load it, I get this error: The first 2 lines of my php: What do I need to change to be able to use ZenPhoto functions inside this custom album/file? custom hardcoded album for flash panoramas, how to use zenphoto functions - DrSlony - 2009-07-28 I would like to use the following functions in my custom hardcoded album (virtual_panoramas.php) and in each page that virtual_panoramas.php will link to: Would also be awesome if I could have a next/previous button in the page that virtual_panoramas.php will link to, so people co open the next/previous pano without having to click back to virtual_panoramas.php custom hardcoded album for flash panoramas, how to use zenphoto functions - sbillard - 2009-07-28 You cannot directly load theme script files. All Zenphoto pages are gated through the root index.php script. But why are you doing this in the first place? Just select your theme as the Zenphoto active theme. custom hardcoded album for flash panoramas, how to use zenphoto functions - DrSlony - 2009-07-28 My theme IS the Zenphoto active theme. However, Zenphoto does not have a panorama interface for flash and quicktime files, so I use my PP theme's index.php for all the albums but I hard-coded a link to a flash/quicktime panoramas album. This is my old panoramas page: This is my zenphoto gallery: I'm moving all of those virtual panoramas into this new zenphoto hardcoded album: So, now that I hope you understand what I'm trying to do, is there any way I can use those zenphoto functions in virtual_panoramas.php ? custom hardcoded album for flash panoramas, how to use zenphoto functions - sbillard - 2009-07-28 Well, as I noted, you cannot link directly to a theme script. What you need to do is create a link to (assuming you are using mod_rewrite) www.panapixel.olg/zenphoto/page/virtual_panoramas. This is how you load custom script pages. |