![]() |
|
how display the last zenphoto video in the index - 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 display the last zenphoto video in the index (/thread-2380.html) Pages:
1
2
|
how display the last zenphoto video in the index - antonionardelli - 2008-03-12 Hi all, yesterday evening i tried to have working the new hacks. It is not working. i get an error: how display the last zenphoto video in the index - acrylian - 2008-03-12 Weird, we didn't change anything on that query... how display the last zenphoto video in the index - BertSimons - 2008-03-12 this code is now working at the bottom of 5 latest videos ordered by image-date `` note replace the path's by yours how display the last zenphoto video in the index - acrylian - 2008-03-12 Maybe we should consider making that a template-function. I will see what the others think. how display the last zenphoto video in the index - BertSimons - 2008-03-12 and you can insert `$preview = substr($imageURL,0,strrpos($imageURL,".")).".jpg"; echo "so.addVariable(\"image\",\"".$preview ."\");";` to show the preview image of the video. how display the last zenphoto video in the index - antonionardelli - 2008-03-12 sorry for my wrong contain. With the new i get this error how display the last zenphoto video in the index - BertSimons - 2008-03-12 don't make hacks in the template- functions file!, with last night nightly build it is not neccesary how display the last zenphoto video in the index - antonionardelli - 2008-03-12 Hi Bert, i haven't touched any file of zp. In a page outside zp folder there is this code: I'm always returning the error. I tried on the server. I think i'm losing something... Zenphoto Error how display the last zenphoto video in the index - BertSimons - 2008-03-13 what are the paths of your folders? did you now install in /zenphoto ? and are the videos inside an album in zenphoto/albums? how display the last zenphoto video in the index - BertSimons - 2008-03-13 antonio, i maneged to get it working outside the zenphoto directory as you can see at http://www.bertsimons.nl/testlatestvideo.php ` ` i don't get an mysql error.. ` ` this is normally called by zenphoto if inside zenphoto how display the last zenphoto video in the index - antonionardelli - 2008-03-13 Hi Bert, thank you again. how display the last zenphoto video in the index - antonionardelli - 2008-03-13 Here i am!! how display the last zenphoto video in the index - acrylian - 2008-03-13 The recent update "latest-date" for getImageStatistic is NOT in 1.1.3..... how display the last zenphoto video in the index - antonionardelli - 2008-03-13 Ok, on the server i upgraded to 1.1.5, sorry but i can't get it working. It's always displaying the error. how display the last zenphoto video in the index - BertSimons - 2008-03-13 I am out of ideas, I don't know about MYSQL and servers.. Does the example function as on http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin work on your external page? how display the last zenphoto video in the index - antonionardelli - 2008-03-13 Hi Bert, I am at working now, if i remember right, it is working!! |