![]() |
|
printLatestImages has wrong path - 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: printLatestImages has wrong path (/thread-10637.html) |
printLatestImages has wrong path - biernikowicz - 2012-12-07 when I include printLatestImages(12); funtion it has wrong path to the zenphoto and the thumbs doesn't show on my external page even that I defined zenphoto at the begining of the page. printLatestImages has wrong path - acrylian - 2012-12-07 So where did you exclude that function? It is meant to be used on Zenphoto theme page and not external. If you want to do that oyu need to follow the "zenphoto as plugin" way described on our user guide. printLatestImages has wrong path - biernikowicz - 2012-12-15 on the older version of the zenphoto I simply had the functions included on the external page of the zenphoto <? define('SERVERPATH',str_replace('\\','/',dirname(__FILE__)).'/galeria'); require_once(SERVERPATH.'/zp-core/template-functions.php'); require_once(SERVERPATH . "/zp-core/zp-extensions/image_album_statistics.php"); ?> then I've putted: <?php printlatestImages(12); ?> and that worked fine untill I've uptaded the zenphoto. now it shows the file names, but the link to the pictures is wrong (not showing "/galeria"). printLatestImages has wrong path - sbillard - 2012-12-15 http://www.zenphoto.org/news/zenphoto-as-a-plug-in-using-zenphoto-functions-from-outside-zenphoto |