Member
Member
jackdaw   2010-07-08, 08:48
#1

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

Administrator
Administrator
acrylian   2010-07-08, 10:01
#2

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....)

Member
Member
jackdaw   2010-07-08, 10:40
#3

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.