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

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-18-2009, 02:15 AM
kunhouchan kunhouchan is offline
Mosets'd
 
Join Date: Mar 2009
Posts: 1
Default how to add extra field at mod_hp_search

I have added a new combo box at mod_hp_search default.php like this
this part is OK and display right result

<select name="rentRange" class="inputbox" size="1">
<?php
foreach($tests as $r)
{ ?>
<option value="<?php echo $r; ?>"><?php echo $r; ?></option>
<?php }?>
</select>

however the search engine cannot capture the value that the user selected.
and search it at search.php

I have tried to add a code like this at
com_hotproperty\models\search.php

$this->_rentRange seems get nothing~~~

function __construct()
{
....


$this->_rentRange = JRequest::getString('rentRange',0);


so any thing that I m missing, so that the search can't function..
 

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
Different extra field type in Search and Add Property Pages doraberindea Discussions, Troubleshooting and Problems 0 05-12-2009 05:22 PM


All times are GMT +8. The time now is 05:44 AM.

Copyright © 2005-2010 Mosets Consulting

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