#1
|
|||
|
|||
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:
HTML Code:
<?php $hotproperty =& MosetsApplication::getInstance('hotproperty');?> <?php MosetsHTML::_('behavior.formvalidation'); $action =''; $action = JURI::root( false ); $action = 'index.php?option=com_hotproperty&task=sendenquiry&id='.$this->row->id.'&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 also running AEC = the owner is associated with a valid plan, etc. Any suggestions? Thanks, Eddie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |