Shape 5

Joomla Club Extensions => Reservations - Club => : steviegoog June 28, 2011, 09:25:11 AM



: Removing Number of Beds Options
: steviegoog June 28, 2011, 09:25:11 AM
Hi i like the look of this mod and wonder how hard the following would be?

To remove the number of beds and just have the number of guests?

Can you also advise how to change the titles ie choose your package etc


: Re: Removing Number of Beds Options
: jonahh June 28, 2011, 11:32:04 AM
You can change the title in the reservations language file included as for the number of beds and guests this is a combination of language file and code.  To edit code look for <options> in your

modules\mod_s5_reservations\tmpl\default.php file

beds:
:
				<select id="posBeds" name="posBeds" class="inputbox" style="margin-top:4px;padding:3px;width:80px;background:#ffffff;" onmouseout="s5_reservationbdn();">
<option value="select" selected="selected"><?php echo JText::_('SELECT'?></option>
<option value="one"><?php echo JText::_('ONE'?></option>
<option value="two"><?php echo JText::_('TWO'?></option>
<option value="three"><?php echo JText::_('THREE'?></option>
</select>



: Re: Removing Number of Beds Options
: steviegoog June 29, 2011, 02:23:43 AM
Sorry you have lost me with lanuage file, i have manged to remove the options for beds but not the title.



: Re: Removing Number of Beds Options
: jonahh June 29, 2011, 12:00:04 PM
language file is located here  "language\en-GB\en-GB.mod_s5_reservations.ini


: Re: Removing Number of Beds Options
: steviegoog June 29, 2011, 02:04:26 PM
Hi jonahh

I have managed to find that file now and thanks, i have a couple of problems still (sorry)
When i remove the beds code you displayed above it removes the beds input however it wont let me submit or get to anti spam code.
Can you take a look at:

http://dev.ardlairullapool.co.uk

Also please see the attached files, can the word beds be removed and the number of guests shifted left?
It seems to chop off the top of the date and the bottom of the date field in chrome.



: Re: Removing Number of Beds Options
: steviegoog June 30, 2011, 10:17:07 AM
Hi jonahh any ideas?


: Re: Removing Number of Beds Options
: jonahh June 30, 2011, 11:34:34 AM
Hello,

It is going to require some custom coding in order to get working as there is javascript that checks each option to be sure its filled in.  You can post this in the hire a coder area of the site or check on joomlancers.com


: Re: Removing Number of Beds Options
: steviegoog June 30, 2011, 11:53:26 AM
So if i remove the options for bed it fecks it up, is this not something you can do as i filled all the info in apart from the beds?


: Re: Removing Number of Beds Options
: steviegoog June 30, 2011, 12:38:57 PM
Can you please advise about the problem with the calendar fields?


: Re: Removing Number of Beds Options
: jonahh July 01, 2011, 12:27:01 PM
For the calendar fields issue add the following to the bottom of your template css file:


.s5_calwraps .inputbox {
margin-top: -3px;}

.s5_calwraps fieldset {
padding-bottom: 8px;
    padding-top: 2px;}


: Re: Removing Number of Beds Options
: cesgarcia January 17, 2016, 12:04:26 AM
which template css file? the modules or the templates of the site itself?


: Re: Removing Number of Beds Options
: jonahh January 18, 2016, 01:15:16 PM
You can add it to the bottom of your actual template.css file.


: Re: Removing Number of Beds Options
: cesgarcia January 18, 2016, 01:55:47 PM
didnt work installing vertex 4