![]() |
|
Customizing the Comment Form -- Storing new data? - 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: Customizing the Comment Form -- Storing new data? (/thread-7443.html) |
Customizing the Comment Form -- Storing new data? - elyseston - 2010-08-08 In order to allow my clients to use their galleries as an order form, I've added fields to the comment form so that on each image they can order different print sizes, etc. I've got the front-end all figured out, my question is how do I add these fields to the back-end part of the plugin so that the information is stored and posted? Also, I tried monkeying with this some yesterday without any luck, but I wanted to basically have two versions of the comment form so that I could have albums open for 'normal' comments as well, without having the order information. What do I need to rename in both files in order to achieve this? This is not as big a deal as the previous question, however. Customizing the Comment Form -- Storing new data? - kagutsuchi - 2010-08-09 If you've added the front-end, then you should be able to get the variables from your inputs via the I would suggest to leave the default Customizing the Comment Form -- Storing new data? - elyseston - 2010-08-09 Thanks for the response! A few questions as I'm going over the files. First, something I think I might have missed at first. In the label column, I probably have to use the To rename, then, I need to rename all of the functions and the name of the form, right? Can I do a simple replace all for "comment_form" to achieve most of those and then go through to rename the functions line by line? Would I be missing anything else that would need to be renamed? |