Hello,
Firstly, I'd like to say that ZenPhoto is absolutely fantastic. Rarely have I used a free script from the internet and it just works. I like the concept: it begins simple, but you can customize it with much more advanced code. Thank you for making such a user-friendly gallery script.
Anyway, I do have two questions about ZenPhoto:
My JavaScript doesn't work. For example, if you click the "Admin Toolbox" link (which has a javascript reference) it doesn't do anything. How can I fix that?
Regarding the Contact Form extention: how do you implement it into the gallery? When I go to the plugin options page, it shows me that it is enabled. But when I click the contact_form link to expand its options, it doesn't show me how to show it in the gallery.
Thank you. All and any help is appreciated.
That didn't work. But, I think I know the problem: the links to the Javascript in the header are bad. They relink to the /zenphoto folder, so instead of having a link like this
I get a link WITH the /zenphoto added at the biginnging:
So the server would look for the file at /zenphoto/zenphoto/zp-core/js/ instead of just one /zenphoto.
I think that's the problem...
The links at the top of the code (that refer to the javascript files) all work. I've put them in my browser and the file was found.
The "toggle not found" error leads me to believe that there is a problem of where the javascript is defined. Is there any PHP document pertaining to the javascript functions?
I do think I've found the problem: I get a fatal error in the /zp-core/js/zenphoto.js.php file:
var zpstrings = { /* Used in jquery.editinplace.js */ 'Save' : " Fatal error: Call to undefined function gettext() in root/zenphoto/zp-core/js/zenphoto.js.php on line 22
I also get an error on the page for an 'unterminated string liberal,' referring to the uncompleted "save" function in the code above.
Hmm.. how to fix this?