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, 06:01 PM
# 1 (permalink)

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, 07:27 PM
# 2 (permalink)
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

<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>
also for heading etc remove

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

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

$Body .= $type_of_room;
Thread Tools
Display Modes

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

Members Login