JHotelReservation Forum - How to Remove "Number of rooms"

Support Forum

 
 

 

I've discovered that in the front end module selecting the number of room changes no calculation to the reservation process. I would like to remove this from the front end module entirely. Where can I remove this?

3 replies

Hi, 

<tr>
<TD><?php echo JText::_("LNG_ROOMS")?></TD>
<TD colspan=4 >
<select id='jhotelreservation_rooms' name='jhotelreservation_rooms'
class = 'select_hotelreservation'
>
<?php
$i_min = 1;
$i_max = 10;
for($i=$i_min; $i<=$i_max; $i++)
{
?>
<option 
value='<?php echo $i?>'
<?php echo $jhotelreservation_rooms==$i ? " selected " : ""?>
>
<?php echo $i?>
</option>
<?php
}
?>
</select>
</TD>
</TR>

This option will be used for a future release when each room is selected individually. 
You can remove the code below, from your_joomla_path/modules/mod_jhotelreservation/tmpl/default.php line 373. 
<tr>

<TD class="td_title_hotelreservation"><?php echo JText::_("LNG_ROOMS")?></TD>
<TD colspan=4 >
<select id='jhotelreservation_rooms' name='jhotelreservation_rooms'
class = 'select_hotelreservation'
>
<?php
$i_min = 1;
$i_max = 10;
for($i=$i_min; $i<=$i_max; $i++)
{
?>
<option 
value='<?php echo $i?>'
<?php echo $jhotelreservation_rooms==$i ? " selected " : ""?>
>
<?php echo $i?>
</option>
<?php
}
?>
</select>
</TD>
</TR>

 

in the same question i would like to ask if it is possible instead of numbers of rooms in module selection to put single room double room and suite and to make a relation with the rooms so when someone choose suite to shows only suites. i think that would be more efficient.

Hi George, 

The behaviour you described requires further development.
Please contact us and we can discuss further.

 

 
 
 

4 Item(s)

Show per page