Results 1 to 11 of 11

Thread: Contact Us Form

  1. #1
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default Contact Us Form

    Hi all,

    what is the easiest way for ad d a "Contact Us" form, similar to "Tell a Freind" but one can contact the actual IndexU sites management.

    Thakns
    Michell

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Go to admin panel > template manager > edit > add new custom template, called contact_us.html

    Write the content there.

    To call the page, http://www.domain.com/page.php?id=contact_us

  3. #3
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by dody View Post
    Go to admin panel > template manager > edit > add new custom template, called contact_us.html

    Write the content there.

    Hi Dody,
    Thank you for the reply, but this is to create a basic page, I need a FORM (contact us form), basically something like Tell A friend, so people can fill up their name and inquiry and email it to us.

    By the way that (admin panel > template manager > edit > add new custom template) only creates a HTML file but what about the PHP file for the files that you create there, would you have to manulay create them or ...?

    Quote Originally Posted by dody View Post
    I am sorry, I am lost, is this part of my reply too?

    Regards
    Mitchell
    Last edited by Mitchell; 05-19-2008 at 04:30 AM.

  4. #4
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by Mitchell View Post
    I need a FORM (contact us form), basically something like Tell A friend, so people can fill up their name and inquiry and email it to us.
    see this thread and use this contact form

    I did not test it.


    .
    Last edited by esm; 05-19-2008 at 07:38 AM.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by esm View Post
    see this thread and use this contact form

    I did not test it.


    .
    esm,

    Thank you,
    Okay, I made a few forms (subscription, Feedback, etc, in my directory using OSCommerce, without changing the database;

    here are the forms;
    http://www.weddingsonly.com.au/feedback.html
    http://www.weddingsonly.com.au/subscription.html

    it wasn't very hard to make those forms BUT can we make forms like this in IndexU WITHOUT adding tables to the Database or not?

  6. #6
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by Mitchell View Post
    ...can we make forms like this in IndexU WITHOUT adding tables to the Database or not?
    INDEXU does not make forms, other than those you already see. You can create any additional form you like; they don't require the INDEXU database and will not affect it in any way.

    INDEXU will not capture any data from the form. You will need to do that yourself. each form has as an "action" tag. the file associated with that action will manipulate the data from the form and perform some sort of action, e.g., mail the data, save the data to a database or file, etc

    For example, in your subscription.html the subscription form uses the following action tag

    http://www.weddingsonly.com.au/directory/subscription.php?action=send
    whatever code is in the subscription.php file will be used to do something with the data from the form.

    FYI, INDEXU does have a mailing list (see the section Wedding Newsletter) but it does not have the kind of data you are capturing in your subscription.html file.


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  7. #7
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by esm View Post
    You can create any additional form you like
    .

    thank you for your information, would you please tell me which files I have to hack to create a new form?

    e.g.
    sendmail.php
    and
    sendmail_form.html

    or there are other forms that I need to hack too?


    Also I need the title on "sendmail_form.html" from "Send Email" to "Contact Us" but it didn't change, is there some where else that I have to change to?

    Regards
    Mitchell

  8. #8
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    i think the posts at Contact the webmaster form, espcially the last two from Vitis, seem to answer your questions.



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  9. #9
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Thanks Mate, this should keep me busy for a couple of days!
    Gives you a break.

  10. #10
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    just place a link to sendmail.php?u=admin

    and your done.

    Just like i have here :

    http://www.bigfreeguide.com/camping/...il.php?u=admin
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  11. #11
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by inspireme View Post
    just place a link to sendmail.php?u=admin

    and your done.

    Just like i have here :

    http://www.bigfreeguide.com/camping/...il.php?u=admin

    Thank you, I did that fot the Contact us and it is perfect, here is what I did, copied sendmail.php and sendmail_form.html, renamed them the contact_us.html and .php and then did what you said;
    http://www.weddingsonly.com.au/contact_us.php


    but other thing I was after was to add MORE Fields to the Form such as what I have done below;

    http://www.weddingsonly.com.au/subscription.html

    all I need to know how to add extra field to the forms, lets say how to add "Contact Phone Number" field to the sendmail form, do I only have to add new field to the sendmail.php and sendmail-form.html or there are other files that I have to hack as well?

    Cheers
    Mitchell
    Last edited by Mitchell; 05-19-2008 at 06:31 PM.

Similar Threads

  1. NiceCoder contact
    By nextdomains in forum Pre-Sales Questions
    Replies: 1
    Last Post: 02-29-2008, 01:53 PM
  2. "Contact the webmaster" form ?
    By Mickey in forum Blocks and Modification
    Replies: 8
    Last Post: 08-18-2007, 03:36 PM
  3. aptcha contact form and tell a friend ?
    By Test71 in forum Blocks and Modification
    Replies: 1
    Last Post: 01-02-2007, 04:32 PM
  4. unable to contact you
    By toneranger in forum Pre-Sales Questions
    Replies: 3
    Last Post: 03-01-2003, 02:19 PM
  5. Replies: 0
    Last Post: 10-19-2001, 09:23 AM

Posting Permissions

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