Hi there,
I am creating a website for an art gallery and they have requested a "contact form" next to the image which has already populated the data of the image into the form.
My example page is here,
http://pennystewartdesigns.com/merrepen/gallery/merrepen-arts/img_0863.jpg.phpAs you can see I have a form on the right hand side that I generated from a free form website. I tried to input the php codes for the "title" of the image etc into the value boxes for the form, but this did not work.
Is there any way I can make a form with the image name in the subject "artwork title" on a form?
Thanks for your help!
Penny
Comments
thanks though!
thanks
i enabled the "contact form" plugin in zenphoto..then i edited the /zp-core/zp-extensions/contact_form/form.php file to display the following for my "message" box: (this displays the album name & image name in the message box)
`
<?php printf(gettext("Message<strong>%s:"),(checkRequiredField(getOption('contactform_message')))); ?>
><?php echo $mailcontent['message']; ?>Regarding <?php echo getImageTitle();?>, by <?php echo getAlbumTitle();?>.
<?php } ?>
`
please see example here: http://www.pennystewartdesigns.com/merrepen/gallery/paintings/elise-dorat/blg1cts.jpg.php right hand side column is the form.
thanks,
penny