PMR Modules / Templates Home | Module Alerts | Search | Find Developer | Developer Account     
Navigation

- Home

Information

"Listing URL appears in the emails sent from the listing details page" Mod


1.0.7.x

Price: USD 0
Module Type: Property Record Mods
Version: 1.0.7.x
Supported?: Yes (free)


Module Description:


To add detailed listing page URL to the
emails sent from the listing page, please, do
the following:

1 edit viewlisting.php

$template->set ( 'realtor_mail',
validateemail ( $f['userid'],
$f_user['email'] ) . '<img src="' . URL .
'/templates/' . $cookie_template .
'/images/icons/email.png" border="0"
alt=""><br>' . $lang['Realtor_Send_Message']
. '</a>' );


to

$template->set ( 'realtor_mail', '<a
href="' . URL . '/sendmessage.php?id=' .
$f['userid'] . '&listingid=' . $f['id'] .
'"><img src="' . URL . '/templates/' .
$cookie_template . '/images/icons/email.png"
border="0" alt=""><br>' .
$lang['Realtor_Send_Message'] . '</a>';

2 edit sendmessage.php

change

$form['message'] = '';

to

if (isset($_GET['listingid']))
{
$form['message'] = URL .
'/viewlisting.php?id=' . $_GET['listingid'];
}
else
{
$form['message'] = '';
}

Downloaded / Viewed: 836

Submission Date: 10-08-2007

Last Update: 03-12-2008
Developer Details:

PMR Developers

PMR Developers (PMR LLC.)


Purchase / Download Link

Add To Favorites

Mail To A Friend

Send Message

Visit Website

3

Module Name


Module Type


Version


Supported?


With Images Only

     Advanced Search

Developer Control Panel

Login
Password

Developers Online



©2008 phpMyRealty.com Modules

Generated in 0.1848 secs, 21 SQL queries executed in 0.09056 secs