Go Back   Mosets Community > Archives > Mosets Hot Property 1.0 > Discussions, Troubleshooting and Problems

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2012, 10:33 PM
dremay dremay is offline
Mosets'd
 
Join Date: May 2011
Location: Leicestershire, UK
Posts: 7
Property contact form redirects to Login page

Hi,

I have an issue - when a user contacts an agent they are redirected to the login page & no email is sent.

I'm including the contact owner in the following way

PHP Code:
<?php if ($hotproperty->getCfg('show_enquiryform')) : ?>
                <h2 id="SendAnEmailtoOwner">Contact the Owner</h2>
                <?php $this->agent $this->row->Agent?>
                   <?php echo $this->loadTemplate('contact'); ?>
                <?php endif; ?>
My property_contact.php has the following:
HTML Code:
<?php $hotproperty =& MosetsApplication::getInstance('hotproperty');?>

<?php MosetsHTML::_('behavior.formvalidation'); 

$action ='';
$action = JURI::root( false );
$action =  'index.php?option=com_hotproperty&amp;task=sendenquiry&amp;id='.$this->row->id.'&amp;Itemid='.JRequest::getVar('id');
?>
<!-- component fws -->
<form method="post" id="contactowner" action="<?php echo $action; ?>" class="form-validate contact-form">
	
		<input class="text" type="text" title="Your name" value="Your name" name="name">
		<input class="text" type="text" title="Tel." value="Tel." name="contactnumber">
		<input class="text" type="text" title="Email" value="Email" name="email">
		<textarea rows="5" cols="50" title="Message" name="enquiry">Message</textarea>
		<input type="submit" class="btn-send" title="Send" value="Send">
			
	<!--<input type="hidden" name="option" value="com_hotproperty" />
	<input type="hidden" name="controller" value="properties" />
	<input type="hidden" name="task" value="sendenquiry" />-->
	<?php echo MosetsHTML::_('form.token'); ?>
        
        
</form>
I'm running J! 1.5.26 + latest HP.
I'm also running AEC = the owner is associated with a valid plan, etc.

Any suggestions?

Thanks,
Eddie
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to display property contact form pauloandre Hot Property 1.0 Tips and Tricks 0 03-14-2011 07:55 PM
Hot Property Hack Contact Form Enhancement. r0nn1e 3rd party addons & Custom Jobs 0 04-15-2010 06:27 AM
Email Contact Form from Property Page - NO CONTACT DETAILS fps-property Discussions, Troubleshooting and Problems 2 04-25-2009 03:32 PM


All times are GMT +8. The time now is 12:40 PM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.