 |

Bembaman
New User
Jan 19, 2003, 3:20 PM
Post #1 of 9
(4080 views)
Shortcut
|
|
'cart 'or selection device of some kind needed for RM
|
Can't Post
|
|
I am using RM and wondering how I can allow people to request a viewing of a property. After they see the property on the '_publish_listing.html' template I need to allow them to request to view the property. Any ideas on how I can do this (yes, I am a novice!)? Obviously they could just send me an email with the code but I would like to automate this a little, and they may want details on 4 or 5 properties. Is it possible to, for instance, insert an email link that inserts the property code(s), which are a field in the RM database and appear on the page, into the email 'subject' box? Alternatively is there a simple 'cart' tool I can use to allow multiple property code selections? How is anyone else handling this? Thanks in advance for any help.
|
|
|  |
 |

Benjamin
Staff

Jan 20, 2003, 11:10 AM
Post #2 of 9
(4062 views)
Shortcut
|
|
Re: [Bembaman] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
Hi Bembaman, Yes, I could see a 'cart' feature being a handy add-on. But I haven't heard of anything similar floating around the forums, I'm afraid. To add a simple "email this link" function to your listings page, you'll need to insert the following code into your _publish_listing.html template file (stored in your /templates directory). <script language="JavaScript1.2"> var url = window.location; document.write("<a href='mailto:?subject=Property%20Code%20$lfield1$&body=" + url + "'>" + "Email this page</a>"); </script> You'll need to replace the "1" in $lfield1$ to fit the field number of your property code. If you need any help modifying the above to better suit your needs, just post me back! :-) Ben interactivetools.com
|
|
|  |
 |

Joey
User
Jan 20, 2003, 3:03 PM
Post #3 of 9
(4055 views)
Shortcut
|
|
Re: [Benjamin] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
Hi, I had the mailto: link for a while...but using the new upgrade to Auto Manager for doing a Print This Page" template. I was able to "on clicking" email this dealer, a new window pops open with details of the listing in a form and sends to the appropriate dealer for an example go here: http://used-carlots.com/am/listings/l0030.html click on "Email This Dealer" The problem i see is you cannot use an EXTERNAL CGI script for the mail handling, and I didn't want to use the Frontpage "Bots" so im still working on the mail delivery to work. But i guess I will have to use frontpage bots to get rid of the alert messages that pop up if outlook is the default mail handler? Any suggestions on a mail delivery script that dynamically fills in the email to from the form?? Hope this helps, Take care Joey Stubblefield http://Used-Carlots.com Joey Stubblefield http://Used-CarLots.com Powered By Auto Manager! http://1000Cars.com Powered By Auto Manager! http://MeetingStreetMotors.com Powered By Used-CarLots.com Via Auto Manager!
|
|
|  |
 |

leeshields
User
Jan 21, 2003, 6:32 AM
Post #4 of 9
(4036 views)
Shortcut
|
|
Re: [Joey] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
I dont have an answer for the cart option i'm afraid, but I have a formail.cgi script on my site which inserts the ref no into the subject and uses the dreamweaver behaviours to validate the form. http://www.villassist.com/varm/listings/l0021.html Its not as nice as I would like (be nice to have the fields auto complete for each form for example) But saves any email client issues and gives you all the info you require (including a return email address) and you can send it to multiple destinations to track activity Lee __ Lee Shields Apogee Technology John R Hornsby Adelante Properties Villassist Paul Withey Estate Agents
(This post was edited by leeshields on Jan 21, 2003, 6:35 AM)
|
|
|  |
 |

Benjamin
Staff

Jan 21, 2003, 11:09 AM
Post #5 of 9
(4027 views)
Shortcut
|
|
Re: [leeshields] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
Thanks for the post, Lee! Ben interactivetools.com
(This post was edited by Benjamin on Jan 21, 2003, 11:09 AM)
|
|
|  |
 |

Bembaman
New User
Jan 23, 2003, 6:26 AM
Post #6 of 9
(4005 views)
Shortcut
|
|
Re: [Benjamin] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
Benjamin, Thanks for that and it is working perfectly. A quick question though: As it stands the link to click to launch the email is text and I would like to replace it with a button. How?
|
|
|  |
 |

Benjamin
Staff

Jan 23, 2003, 9:02 AM
Post #7 of 9
(3998 views)
Shortcut
|
|
Re: [Bembaman] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
Hi again, Glad it worked out. To have an image link, all you need to do is replace "Email this page" with the image itself. This would look something like this: <img src="/path/to/image.jpg"> (where image.jpg is the name of the image you wish to use). Here's a link to a short page on image tags, if that helps: http://www.mountaindragon.com/html/images.htm Post me back if you encounter any problems. Ben interactivetools.com
|
|
|  |
 |

Bembaman
New User
Jan 24, 2003, 7:25 AM
Post #8 of 9
(3988 views)
Shortcut
|
|
Re: [Benjamin] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
Benjamin-thanks for the help. Sure enough I reached the extent of my ability ! I have experimented a bit but cannot seem to place it correctly. Can you please spell it out where to delete then insert from the existing scenario as follows: + "Email this page</a>"); Thanks a lot. Sorry if this is a bit insulting to you veteran DW experts !
|
|
|  |
 |

Benjamin
Staff

Jan 26, 2003, 10:47 AM
Post #9 of 9
(3965 views)
Shortcut
|
|
Re: [Bembaman] 'cart 'or selection device of some kind needed for RM
[In reply to]
|
Can't Post
|
|
No problem :-) Try something like this: <script language="JavaScript1.2"> var url = window.location; document.write("<a href='mailto:?subject=Property%20Code%20$lfield1$&body=" + url + "'>" + "<img src='http://www.yoursite.com/path/to/image.jpg'></a>"); </script> (You'll have to replace 'http://www.yoursite.com/path/to/image.jpg' with the location of the image on your server, though). Ben interactivetools.com
|
|
|  |
|