Hi guys,
I use :
Zenphoto 1.4.6
Theme : zpskeleton (the adapted one for 1.4.6 by Fretzl in the Github unsupported directory)
PHP : 5.3.28
MySQL : 5.1.67
rewrite mod : on
1. Using this theme, I've noticed that the pagination works fine if the gallery.php is on the home page (
http://www.site.com/page/1,
http://www.site.com/page/2,
http://www.site.com/page/3, etc.) but it gives 404 errors everywhere else, even using it in a gallery page :
http://www.site.com/page/gallery/2 > 404
http://www.site.com/page/gallery/3 > 404
etc.
Can you reproduce that ?
2. I want to print 10 random images from the dynamic album called "example"
this way :
<?php printRandomImages (10, 'slide', 'example.alb', '' , '630', '200', true); ?>
But Zp sends me an error saying that this album doesn't exist (but it does...)
Could you confirm that the function syntax above is correct or point me in the right direction ?
Thanks.
Comments
Use `<?php printRandomImages (10, 'slide', 'album', 'example.alb' , '630', '200', true); ?>`
Trying to reproduce #1
I'll report back if I find something.
Hi gjr, I'd like to thank you for this great theme (and the other ones too).
Just a question : why did you leave it ?
If it does not work I will fix it.
@flu:
I updated the theme's `functions.php`. It should work now.
If it works great on the gallery pages, it doesn't work anymore on the index pages : 404 error (but I don't need the gallery to be displayed on them anyway).
I modified the theme's `functions.php` again and for me it now works on both gallery and index pages.
Thank you so much Fretzl !