Results 1 to 8 of 8

Thread: Contact Form for contact Page

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    26

    Default Contact Form for contact Page

    Hello,

    I would like to use the OR (2.5.6) contact agent form on my contact us page, but I cannot figure out how to make it permanently display on the page. The only way I have been able to make it work is by using the template code {agent_contact_form} which only displays a link that promps the pop up form.

    Is there a way to have that form displayed any other way?

    Please advise, Thanks!

  2. #2
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Contact Form for contact Page

    Quote Originally Posted by roback80 View Post
    Is there a way to have that form displayed any other way?
    Yes, there is:
    index.php?action=contact_agent&agent_id=X

    Where "X" is the agent ID

    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  3. #3
    Join Date
    Mar 2009
    Posts
    26

    Default Re: Contact Form for contact Page

    But that does not put the form on a contact page...

    look here: http://blueholemedia.com/HLYWD/index...splay&PageID=2

    How would I get the form to appear below the Contact Form heading?

  4. #4
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Contact Form for contact Page

    Quote Originally Posted by roback80 View Post
    But that does not put the form on a contact page...
    Copy your main.html template file and rename it to pagecontact_main.html
    Use this link:
    Code:
    index.php?action=contact_agent&agent_id=X&PageID=contact
    Now you have your page templated - edit the file you created as you wish.

    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  5. #5
    Join Date
    Mar 2009
    Posts
    26

    Default Re: Contact Form for contact Page

    Okay, that worked thank you... but it has prompted a couple other questions:

    1) how do I change the landing page after the submission of the form? it currently goes to a blank page with no instruction, layout or anything. How can i change that? preferably to return to the contact page with a thank you message.

    2) How can create a similar, altered template for my listing details pages? I want to eliminate the right column search field and listings area so the page is just the listing details...

    Thanks for the help...

    oh yeah you can view the live site here: www.hollywoodrealtyofbelize.net

    Thanks

  6. #6
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Contact Form for contact Page

    Quote Originally Posted by roback80 View Post

    2) How can create a similar, altered template for my listing details pages? I want to eliminate the right column search field and listings area so the page is just the listing details...
    http://wiki.open-realty.org/Template...Main_Templates

    http://wiki.open-realty.org/Template...tail_Templates
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  7. #7
    Join Date
    Feb 2009
    Posts
    26

    Default Re: Contact Form for contact Page

    Hello,

    I would like to use the OR (2.5.6) contact agent form on my contact us page, but I cannot figure out how to make it permanently display on the page. The only way I have been able to make it work is by using the template code {agent_contact_form} which only displays a link that promps the pop up form.

    I had the same problem and I solved it as followed:

    On the listing_detail page you can catch the listingID variable. With the listing_id you are able to get the listing agents values like his email address. You simply do a query on your database using the listingsdb_id.

    If you have some basic php knowledge, you can code the mailscript by yourself or you can download a complete script from the internet. You have to include the database query into your script, change the email variables and thats it!

    You can see an example on my page:
    http://chicagorentalconnection.com/i...&listingID=279

Similar Threads

  1. vtiger Contact form instead of OR contact agent.
    By gypsydogg in forum Addon help, ideas and discussion (CLOSED)
    Replies: 6
    Last Post: 03-16-2010, 03:29 PM
  2. Contact Form
    By btempleton in forum Addon help, ideas and discussion (CLOSED)
    Replies: 16
    Last Post: 03-11-2008, 03:50 PM
  3. Contact form result page
    By Henristrike in forum Installation/Configuration Help (CLOSED)
    Replies: 0
    Last Post: 05-24-2007, 05:30 PM
  4. Contact Form
    By Rik in forum General Help (CLOSED)
    Replies: 1
    Last Post: 10-06-2006, 05:13 PM
  5. A contact form
    By alsmith in forum Mods (CLOSED)
    Replies: 11
    Last Post: 11-29-2005, 11:37 AM

Tags for this Thread

Bookmarks

Posting Permissions

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