Member
Member
huwalban123   22-03-2009, 22:22
#1

Hello there,

Had a hunt through the forum and can't find anything relating to forms within a ZenPage page.

I am using emailmeform to create a Contact Me form, and I want to insert it into a ZenPage page. The only problem is that when I do, the form and its buttons are greyed out. I've used the HTML option in the page editor to insert the to code. There also appears to be a problem with the sizing of this page since inserting the HTML.

The page I've done this to is

http://www.ourstorespace.co.uk/HuwAlban/Site/index.php?p=pages&title=Form-page

Is it that ZenPage does not allow for forms to be inserted? Or have I done it all wrong?

Many thanks,

Huw

Member
Member
sbillard   22-03-2009, 23:11
#2

I do not know where you got the html to insert for this form. But all your input and textarea fields are marked as readonly or disabled, so naturally you cannot enter data into them.

Administrator
Administrator
acrylian   23-03-2009, 09:59
#3

Also, if you want just a email form I suggest you take a look at the contact_form plugin. This provides an function you can put into one of the codeblocks to be displayed on your site (note that you need to add the codeblock function to the theme, it is not implemented).

Member
Member
huwalban123   23-03-2009, 14:01
#4

Thank you very much for your prompt replies.

Below is the HTML that I am pasting into the page. I have used this code in my old site before moving onto ZenPhoto/ZenPage. Please note that I have not marked anything as readonly or disabled. I have re-inserted this code again today. It pastes just fine, but when I save the page, log out and then revisit the admin system the disabled="true" and readonly="true" appear. It is almost as if these items are being added within the HTML editor?

Paste of form code:

  E-mail address:  
  [b]Note:-[/b] you must enter a valid email address.
  Failure to do so mayl prevent me from receiving this message and/or replying.
  If you do not have an email address then leave this field [b]alone[/b] and fill
  in the telephone number field below.
  Telephone number:        
  Name:   
                         

  Home town & county:     
  Message:


                                                                                                                                   

With regard to the contact_form plugin, I am really sorry but I don't understand what you are suggesting. Code blocks and adding functions to the theme is beyond my knowledge. If I could get the form above to work in a ZenPage page then I'm sorted :o)

Thanks,

Huw

Member
Member
sbillard   23-03-2009, 18:00
#5

I guess I really don't know what the editor is doing. Maybe it is disabling these fields. You could consider using a codeblock for your form, that might bypass this problem.

Member
Member
huwalban123   23-03-2009, 22:56
#6

Hello again. Many thanks for the advice. I have persisted with the codeblock and finally worked out how to do it!

The page

http://www.ourstorespace.co.uk/HuwAlban/Site/index.php?p=pages&title=Form-page

now shows a form using the contact_form plugin.

One issue remains however. I've tested the form several times and it appears to work fine, but I don't get an email in my inbox as a result. I've triple checked the email address for the form to send to and it is correct. I've also trawled through the admin system and the forum looking for others with contact_form setup issues and cannot find any.

Am I missing something obvious?

Loving your work!

Huw

Member
Member
sbillard   24-03-2009, 00:12
#7

I would assume you need to put the proper URL in the form action to post to the email handling site. In your text above it is

``

But I am not familiar with email providers, so I don't really know. At any rate, there needs to be POST handling code somewhere to process your form.

Administrator
Administrator
acrylian   24-03-2009, 10:05
#8

You could also check if the mail()/sendmail php function is configured on your server's php. The contact form that uses Zenphoto mail functions depends on that.

Member
Member
ronandownes   21-06-2009, 18:16
#9

OKay I have several questions about Banners and Logos. I know for sure this topic has been covered in the past but after reading one or two posts I learned pretty quickly that it is quite possible that Behavior and solutions have changed from release to release so I am hoping I can get clarification for what I need to do in the current release.

So I gather I need to change index.php, search.php, image.php and a few more

My coding skill is near to nothing so Must I hire a pro to do this for me or could I download these files and edit them i dreamweaver where I would take a wysiwyg approach and let the code look after itself.

My initia attempts at doing things with dreamweaver failed. index.php is blank in the design panel...

Regards

Ronan

Ronan

Administrator
Administrator
acrylian   21-06-2009, 19:51
#10

You need a server environment for Zenphoto, you can't just run it with Dreamweaver (that of course can be used for editing the theme files) from the harddrive as you can with static html files.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.