![]() |
|
Contact Form Feature - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Contact Form Feature (/thread-7072.html) |
Contact Form Feature - arimakidd - 2010-05-18 Hi, There is an unsupported extension called contact_form by Malte Müller (acrylian) and Stephen Billard (sbillard). However I am looking around for ideas. The url is: [code] By the way, how do you use these extensions. I did not see a download link for the contact_form. Just Functions etc. Do I have to copy and pasted the code and build my own objects after that? HELP? Contact Form Feature - acrylian - 2010-05-18 The contact_form plugin is supported. There's a green checkmark icon which is explained in the sidebar and it is in the category "Officially supported"....... Therefore there is no download link as it is included in the release package. Additionally it is built in in all four standard themes. Just enable that plugin. However it does not carry the image title or id as it is not meant for that. You would have to modify this plugin or write your own custom plugin. Contact Form Feature - Blue Dragonfly - 2010-05-18 One option would be to modify the contact_form script to send the referrer HTTP header to you as part of the email also, which would let you know which page the user was on before they clicked "Contact". That might be the simplest way. Contact Form Feature - arimakidd - 2010-05-19 I have enabled the contact_form plugin from the admin interface. I have placed the email address I want emails sent to in the Options/plugin options tab. However no form shows in the gallery? How do i get the form to show? I notice there is a "usage" link in the other plugins but not this one. Contact Form Feature - sbillard - 2010-05-19 If you are not using one of the distributed forms you will have to modify your theme to place a useage link somewhere. Suggest you look at one of them to see how they do it. Contact Form Feature - arimakidd - 2010-05-20 I found a solution. I did not know that the image description allowed the use of links. So what I did was put a link to my form page and on that page use the php referrer HTTP to send me the GET value pairs. I then used php's explode function to break it up and get the name of the image. Excellent. Thanks for the ideas and suggestions. As a result I don't even need to use the contact_form. YEAH! Contact Form Feature - jonscot - 2010-05-20 Arimakidd, Contact Form Feature - arimakidd - 2010-05-21 Sure! The Zenphoto Admin console gives the opportunity to add a title and description to any image. The description facilitates the use of links. So in my example in addition to some usual text describing the photo, I end it off with: [list] In some other galleries using a different theme it looks like this: It really doesn't matter. What ever page your link is pointing to, once its using php you can have this on the page: Contact Form Feature - acrylian - 2010-05-21 A side note about forum usage of code examples. As written below the field to post you have to put it into Also I would suggest to use the |