Hi there, I'm trying to create a custom page so others can tag and describe photos, but I'm not exactly sure how to go about this. When I made edits to the admin pages and took out fields I noticed they started to be saved as null values in mysql.
How can I setup a custom admin page that would allow for a simplified set of fields that wouldn't create empty values in the db. Should I just use hidden fields in HTML?
Comments
If you are, then you can copy the "POST" handling code and the form code from the appropriate places in admin into your own script and give your users access to that script.
--
OK, so I've got the edit code from admin.php page=edit, and I've got a loop that contains 611 images, but when it comes to output the form I get an error:
Fatal error: Call to a member function getAlbums() on a non-object in /var/www/apache2-default/ee/photodrop/zp-core/admin-functions.php on line 470
What could cause the getAlbums function to behave this way? My tagging.php page isn't even calling getAlbums() anywhere.
My album.php uses this for thumbnails:
printCustomSizedImage(null, 220, 220);
And I can pass a custom value in my tagging.php like:
$image->getSizedImage(220);
But it recreates the file instead of using a cached version. What's up? How can I just use the same cached image in the tagging.php file?