Results 1 to 4 of 4

Thread: Contact Us Mod

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

    Default Contact Us Mod

    Free Mod for IndexU Deluxe

    Hi all,

    Since IndexU doesn’t offer a "Contact Us" link and I believe it is very important for each website specially to stops spam, a couple of months ago I made this "Contact Us" mod and since then I have it on my production site and it has been working fine.

    http://www.weddingsonly.com.au/conta...=Administrator

    I added the following fields to this form which you can change them if you wish;

    * Name
    * Email Address
    * Contact Number
    * Subject
    * Enquiry

    INSTRUCTION to install it;

    If you want the inquiries to go to a different email address than the admin's, create a new USER called some thing like "contact", inquiry", etc. with your email address (all emails from the Contact US form will go to this emails address) in this case I called it "Administrator".

    Then you need to change the following files;

    page_title.php

    Around line 18 after the following quote;

    define("PT_SEND_MAIL",_("Send an Email"));
    ... add the following line;

    define("PT_CONTACT_MAIL",_("Contact Us"));

    Add the following line to the link section of footer.html, header.html or both.

    <a href="<%$site_url%>/contact_us.php?u=Administrator" title="Contact Us"><%t%>Contact Us<%/t%></a>
    Download the attached zip file, unzip it and add the contact_us.php to the root directory and contact_us.html to your active themes folder, set the contact_us.html file permissions to 777.


    Please let me know if there is any problem.

    Cheers
    Mitchell
    Last edited by Mitchell; 09-06-2008 at 09:45 AM.

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

    Default

    Sorry, I forgot to attach the files, here they are.
    Attached Files Attached Files

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

    Default

    You can also do this without creating a new user, by just having the existing "admin".

    Change;

    <a href="<%$site_url%>/contact_us.php?u=Administrator" title="Contact Us"><%t%>Contact Us<%/t%></a>

    to;

    <a href="<%$site_url%>/contact_us.php?u=admin" title="Contact Us"><%t%>Contact Us<%/t%></a>
    Last edited by Mitchell; 08-12-2008 at 07:33 PM.

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

    Default

    This one is for August mod of the month as well!
    Last edited by Mitchell; 09-06-2008 at 09:46 AM.

Similar Threads

  1. Contact Info for mpdaddy?
    By wslade in forum Customers Lounge
    Replies: 3
    Last Post: 07-15-2008, 10:39 PM
  2. Contact Us Form
    By Mitchell in forum INDEXU DELUXE v1.x
    Replies: 10
    Last Post: 05-19-2008, 06:26 PM
  3. NiceCoder contact
    By nextdomains in forum Pre-Sales Questions
    Replies: 1
    Last Post: 02-29-2008, 01:53 PM
  4. aptcha contact form and tell a friend ?
    By Test71 in forum Blocks and Modification
    Replies: 1
    Last Post: 01-02-2007, 04:32 PM
  5. unable to contact you
    By toneranger in forum Pre-Sales Questions
    Replies: 3
    Last Post: 03-01-2003, 02:19 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
  •