Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Contact page - how to insert in ez page?

    I have a contact form with a link to get there.
    What I'd LIKE to do is create another (different) contact form inside one of my EZ pages.

    Is this possible? Can one of you wise people point me in the right direction? Thanks

    my site

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Contact page - how to insert in ez page

    Forms inside ez-pages are problematic. They can work, but I have found that textarea inputs cause problems with the editor. You can paste in or otherwise enter <textarea> code and save it, but if you reopen the editor, it cuts off at the textarea. The only way I have found to edit is to make changes elsewhere, and then erase the existing content of the ez-page and repaste it from the external source. It has been several months since I did it last, so a bit fuzzy on the details.
    One other type of input simply cannot be used inside an ez-page, I forget which one.

    The best solution will be to create a new define page and put your form there.

  3. #3
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Contact page - how to insert in ez page?

    Thanks! So here's my question now....

    Can I make a whole separate contact us form (from the one that's already in there, that came with ZC?)

    Would that just be a matter of duplicating the file and tweaking it?
    Thanks.


    (in other words, I'm going to take that EZ page that I need a contact form in....and paste the info into a define_pages page and add a contact form.) And then delete the EZ page form.
    Oh gosh, how would I get a contact form into the new define_pages page? I don't see an insert form button.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Contact page - how to insert in ez page?

    You can probably do something like that. Be aware that a page requires several (about 7?) files scattered around the codebase to be fully operational. I suggest you use the About Us page mod from Free Addons to guide you in making your cloned page; then look at the custom forms - data collection thread for info on making forms.

  5. #5
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Contact page - how to insert in ez page?

    Thanks Glenn! Especially for telling me theres like 7 files to tinker with, lol. I'll do what you said with the add on.
    I'm not good at tinkering

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Contact page - how to insert in ez page?

    If you use define_page_2 or the like for your form, you won't have to worry about creating the page; you will still have to go through the process of renaming the page (in about 5 different places) if you don't want it to show in navigation as Page 2.

  7. #7
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Contact page - how to insert in ez page?

    Thanks.

    My other thought was just taking the current Contact Us page (which is hardly ever used) and just editing the fields to reflect the information I need to get from the customer.

    This way I can just put the information from my EZ page right on this new page (above where the form automatically goes now)

    I just can't for the life of me figure out HOW to add codes for fields of 'address', 'phone', and 'number requested'.

    ughhhh. I admire anyone who understands this stuff. A job I could never do.

  8. #8
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Contact page - how to insert in ez page?

    I found a thread about band_something or other and don't understand it at all. What's worse, it's saying I should have a file in my CUSTOM template called tpl_contact_us_default.php
    and I do not.

    Hmmmm. I don't know why I don't but now I wonder what else I'm missing in my CUSTOM template. I see a LOT of files under the default template along with this above file, and NONE of them are in my CUSTOM area.

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Contact page - how to insert in ez page?

    Only files you have customized should be in your custom template folders. If there is one you want to customize, copy it to your template folder and edit it there.

  10. #10
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Contact page - how to insert in ez page?

    Okay thanks. I've spent the last 3 hrs going through a tread. In comment #9 they list 3 files that need to be messed with.

    What I did was take MY section of code for the name area in the contact form. I copied/pasted it and then took all the info out for name and put in 'state'.

    I then fiddled with the code in the other area that they had in that link above also under #9. (language/english/contact)

    These two things made the form show 'state'. But for the life of me I could not fix the other file listed in #9 to get the info that I filled in under 'state' to come through in the email when I tested it and sent it to myself.

    My problem seems to be not being able to link what I'm doing into /modules/pages/contact_us/header_php.php

    I'm really trying to figure this out via the threads but I'm completely lost.

 

 

Similar Threads

  1. How can I insert a PAGE BREAK into a page ??
    By shags38 in forum General Questions
    Replies: 7
    Last Post: 8 Sep 2011, 01:36 PM
  2. How to insert products into Page 2?
    By Lakucije in forum General Questions
    Replies: 0
    Last Post: 22 Apr 2011, 03:22 PM
  3. How do I insert a SSL image on my front page?
    By madalex28 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 May 2010, 06:27 PM
  4. How to insert Image in Home Page?
    By vishalon in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jan 2010, 04:23 PM
  5. how to change contact us the page to full page?
    By andrewmax81 in forum General Questions
    Replies: 12
    Last Post: 1 Dec 2009, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg