• Adding a contact form for a listing

    The GoldRoo local directory script creates a separate page for each listing.
    This article explains how you can add a contact form to the listing's detail page which your visitors can use to contact the business or organization listed.
    This GoldRoo modification is best used together with the plus2desc mod.
    1. Add an optional contact form for those listings that like to be contacted by your visitors direct
    • Customize the contact form for each listing to suit the listing
    • The form has a built-in CAPTCHA
    Follow these instructions to prepare for optional contact forms for your listings:
    1. Download the listing-contact-form.zip file
    2. Extract the ZIP file and upload the oops folder to the same folder on your server where the script is installed
    3. Open t!wddetail.html in your favorite editor and look for this line in the <head> section:
      Code:
      <link rel="alternate" type="application/rss+xml" title="Latest listings" href="feeds/rss.php" />
      and replace with
      Code:
      <link rel="alternate" type="application/rss+xml" title="Latest listings" href="feeds/rss.php" />
      <script type="text/javascript" src="grcounter.js"></script>
      <script type="text/javascript" src="grvalidator.js"></script>
    4. Upload t!wddetail.html to your server
    Adding a contact form to a listing:
    1. In your administration panel, navigate to the listing, and click the title of the listing, this will take you to a page where you can edit the listing
    2. Copy the content of oops/contact-listing.txt
    3. Paste into the source of any of your description fields (but not the Entry Description field)
    4. Look for LISTING-EMAIL in the code and replace with the listing's email address
    5. Save your information
    Other information

    You might have to increase the maximum characters allowed in some of the description fields. See this support article for more info.