Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Can i disable a field?

07-12-2009, 07:01 PM
# 1 (permalink)
kerastes
Hello,

I dont need the ''destination package'' field and the ''type of room field'' can i disable them or make them invisible???

thank you in advance!!
09-15-2009, 08:27 PM
# 2 (permalink)
steve2
I needed this also and did it by editing /modules/mod_yj_booking/mod_yj_booking.php

there are two lots of below code to remove to rid of type of room field

Quote:
<div>
<label for="type_of_room" id="type_of_room_label"><?php echo $type_of_room_label ?></label>
<select name="type_of_room" id="type_of_room">
<option value="single" selected="selected">single</option>
<option value="double">double</option>
<option value="apartment">apartment</option>
</select>
</div>
also for heading etc remove

Quote:
<legend id="accomodation_legend"><?php echo $accomodation_legend ?></legend>
09-15-2009, 08:30 PM
# 3 (permalink)
steve2
also remove this code from /modules/mod_yj_booking/getmail.php to rif of reference in recieved email etc

Quote:
$Body .= "\n\nType of room:";

$Body .= $type_of_room;
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password