This plugin is new and prints a mail form. As with all optional plugins you would have add it's function to your theme file yourself where you wish to display it. It's not in the documention yet, but it's all documented in the file itself (it's always..:-)). Also you need to set some options.
Best make a custom page called contact.php for example and call it there (more about custom pages on our theming tutorial).
Well, I have'nt seen that ! Thank you Acrylian !
I'm actually running a [2222] version and I can't install the last nightly because of this problem :
http://www.zenphoto.org/trac/ticket/758
So I have several questions :
Thank you for your time.
But you can use it right now with a normal custom theme page, too.
Hi Acrylian.
I was finally able to upgrade my [2222] ZP to a [2469] version.
I made a custom page based on archive.php and paste into it :
I enabled the plugin but when I choose which field of the form to display (in the options) and save it, it seems that the script doesn't keep them : when I reload the plugin options in my browser the radio boxes are still virgin.
Do you have any idea about how to fix it ?
Should I have a look in a particular section of my database to check it ?
Thank you for your time.
the same is happening to a site I am working on at the moment. as Soon as I made a change to the radio boxes I never managed to save.
On the side note... as the plugin is there is a small spelling mistake.
"Thanks for your message. A copy has been sent to your provided e-mail adress for your own records."
there is a d missing in Address. just a very small side note.
Please try the nightly. The option handling for radioboxes is new and had a bug that now should be corrected.
Thanks for the typo report. I will correct that (in German it's "Adresse", I sometimes confuse the spelling of similar words..:-)). Since that text is just a suggestion you can of course that in the options, too.
Perfect. I had the nightly from 2 days ago with that problem, tried with the newest nightly and it works like a charm.... or that's what I thought I go through the whole process of filling in info and sending, click Confirm to say I am sure I want to send the message. I get the message..
"Thanks for your message. A copy has been sent to your provided e-mail address for your own records."
However I never receive any email, I have an email set in the email address in the plugin settings.
I got in touch with my hosting company(SurpassHosting).
The put up a small test and it runs fine.
I will send code here from the test files to include everything. They uploaded 3 files.
Sendmailtest.php
`
Sendemail Script
Date:
Thank You : ( )
Attention:
Message:
Next Page
`
tesingcontact.php
`
`
testcont.php
`
Email Form
I guess somehow the internal e-mail-function Zenphoto and this plugin use does not work for you. You find that in line 274 of zp-core/lib-utf8.php in case you want to take a look. I did not write that, so I currently don't have any idea. We will investigate that of course.
I tried one thing I forgot about... I tried to tick the box for sending email to the admin as soon as a comment had been written. That works like a charm. I get an email with the comment right away.
I should be the same send_mail code as the other one, right?
If so might there be a bug in the plugin?
There is nothing else I need to put into the custom page then.
``
thanks again for your time Malte
No problem, of course I want the things that I make to work as expected!
Actually the comments use a little different mail code. There the request goes first through another function before sending through the function that the plugin uses. I will test it again on my server soon.