![]() |
|
How to use new version of zenphoto template functions outside base folder - 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: How to use new version of zenphoto template functions outside base folder (/thread-3491.html) Pages:
1
2
|
How to use new version of zenphoto template functions outside base folder - sbillard - 2009-06-17 What is the folder structure of your WEB site? In particular, where is the page that you have inserted the code above? Probably the printLatestImagesByMtime() function was not coded to be able to be called anywhere but from the zenphoto index.php folder. How to use new version of zenphoto template functions outside base folder - Barbara - 2009-06-17 The site structure is the page is in 'test' How to use new version of zenphoto template functions outside base folder - sbillard - 2009-06-17 I am not sure why the link would not work, then. But anyway, if you want to experiment make the following changes: How to use new version of zenphoto template functions outside base folder - Barbara - 2009-06-17 Thanks for the help! Here's what I have Warning: require_once(0/template-functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxx/public_html/test/zen.php on line 3 Fatal error: require_once() [function.require]: Failed opening required '0/template-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/test/zen.php on line 3 How to use new version of zenphoto template functions outside base folder - sbillard - 2009-06-18 Both How to use new version of zenphoto template functions outside base folder - acrylian - 2009-06-18 Just to add that function does not rely on any context so it should work that way. How to use new version of zenphoto template functions outside base folder - Barbara - 2009-06-18 It's working now. Thanks sbillard! |