ZenphotoCMS Forum
Printlatestimages working on one site, not the other - 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 working on one site, not the other (/thread-7316.html)



Printlatestimages working on one site, not the other - jackdaw - 2010-07-08

I am using this code on my site and that works ok:

`

`
Using this same code on another site doesn't work. The only difference is that that other site runs from the root, where in my own site ZP is under a subdirectory of the root on my webserver.
I can't find the function on the template-functions page. Also it's not a plugin. What can be wrong?

Edit: both sites use ZP 1.3




Printlatestimages working on one site, not the other - acrylian - 2010-07-08

First, the parameters itself should not be writtne (printLatesImages(5) and not printLatestimages($number=5, besides no quotes for numbers).

Second. What do you mean with another site? It is a Zenphoto function, of course it does not work outside...
It is a plugin function, from the image_album_statistics plugin (the is easily to be found on our documentation....)




Printlatestimages working on one site, not the other - jackdaw - 2010-07-08

Ah... forgot or did not know it was part of the image_album_statistics plugin. Now that I activated that, it works