![]() |
|
custom page for crowd tagging and descriptions - 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: custom page for crowd tagging and descriptions (/thread-3852.html) |
custom page for crowd tagging and descriptions - typenerd - 2008-09-30 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? custom page for crowd tagging and descriptions - sbillard - 2008-09-30 Are you well versed in PHP coding? If not just stop right here. 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. custom page for crowd tagging and descriptions - typenerd - 2008-10-03 Hi there, yeah I can handle that. I'll give it a shot today and see how it goes, thanks! custom page for crowd tagging and descriptions - typenerd - 2008-10-03 *edit: nevermind, I needed to comment out: //genAlbumUploadList($mcr_albumlist) -- 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. custom page for crowd tagging and descriptions - acrylian - 2008-10-03 getAlbums is a class method, you need to use it with an object. You probably did something wrong on your tagging.php page..:-) custom page for crowd tagging and descriptions - typenerd - 2008-10-03 How can I replace $image->getThumb with something that will reference the same thumbnail I'm using on my album.php page? 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? |