Results 1 to 5 of 5

Thread: add subject=[listing#] to email link on listings page

  1. #1
    Join Date
    Aug 2003
    Location
    Joplin Missouri
    Posts
    5

    Default

    I'm sure if I had a better understanding of PHP, I could make this happen in a matter of seconds by editing the listing view template, but I don't. It would be really helpful to have the email link automatically insert a subject such as "listing1" when someone uses it. I know the format for this would be 'mailto:realtor@tom-hanna.com?subject="listing1"' but don't know how to make PHP automatically insert the listing number when it generates the page. I'm going to work on it myself and if I figure it out before someone else does, I'll post back.

  2. #2
    Join Date
    Apr 2003
    Location
    Charleville / Australia
    Posts
    1,421

    Default

    subject=$listingID

    Should work i think

  3. #3
    Join Date
    Aug 2003
    Location
    S.W. Wisconsin
    Age
    63
    Posts
    121

    Default

    how would this look in the code? i have tried

    making a link like this: <a href="mailto:albert@farmprideland.com?subject="$li stingID"> nothing goes into the subject at all....

    i tried <a href="mailto:albert@farmprideland.com?subject=$lis tingID"> and it puts $listingID in the subject line....

    thanks... albert
    albert ,.. baker, budding realty broker,Lic.Auctioneer, learning to edit video ...

  4. #4
    Join Date
    Jun 2004
    Posts
    1,067

    Default

    <a href="mailto:albert@farmprideland.com?subject=<?ph p echo $listingID; ?>">

  5. #5
    Join Date
    Aug 2003
    Location
    S.W. Wisconsin
    Age
    63
    Posts
    121

    Default

    that worked,... case solved!

    and thanks much
    albert ,.. baker, budding realty broker,Lic.Auctioneer, learning to edit video ...

Similar Threads

  1. Put Featured Listings on your Front Page!
    By max in forum Mods (CLOSED)
    Replies: 24
    Last Post: 05-09-2005, 10:59 PM
  2. New site Please check out
    By Anonymous in forum Show Off (CLOSED)
    Replies: 24
    Last Post: 10-02-2004, 07:18 PM
  3. image only next page - SOLVED
    By Vidman in forum HELP (CLOSED)
    Replies: 2
    Last Post: 06-24-2004, 11:27 AM
  4. Cannot send email - looks like last problem
    By ccworks in forum HELP (CLOSED)
    Replies: 0
    Last Post: 11-04-2003, 04:06 PM
  5. show ___ number of listings per page - TODO 2.0
    By max in forum Feature Request (CLOSED)
    Replies: 0
    Last Post: 08-12-2003, 01:29 AM

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
  •