Forum Support

Shape 5
March 28, 2024, 05:02:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Removing Number of Beds Options  (Read 2419 times)
steviegoog
Jr. Member
**
Offline Offline

Posts: 274



« on: 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
« Last Edit: June 28, 2011, 09:32:23 AM by steviegoog » Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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:
Code:
<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>

Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
steviegoog
Jr. Member
**
Offline Offline

Posts: 274



« Reply #2 on: 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.

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: June 29, 2011, 12:00:04 PM »

language file is located here  "language\en-GB\en-GB.mod_s5_reservations.ini
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
steviegoog
Jr. Member
**
Offline Offline

Posts: 274



« Reply #4 on: 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.

Logged
steviegoog
Jr. Member
**
Offline Offline

Posts: 274



« Reply #5 on: June 30, 2011, 10:17:07 AM »

Hi jonahh any ideas?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #6 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
steviegoog
Jr. Member
**
Offline Offline

Posts: 274



« Reply #7 on: 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?
Logged
steviegoog
Jr. Member
**
Offline Offline

Posts: 274



« Reply #8 on: June 30, 2011, 12:38:57 PM »

Can you please advise about the problem with the calendar fields?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #9 on: 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;}
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
cesgarcia
Jr. Member
**
Offline Offline

Posts: 54



« Reply #10 on: January 17, 2016, 12:04:26 AM »

which template css file? the modules or the templates of the site itself?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #11 on: January 18, 2016, 01:15:16 PM »

You can add it to the bottom of your actual template.css file.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
cesgarcia
Jr. Member
**
Offline Offline

Posts: 54



« Reply #12 on: January 18, 2016, 01:55:47 PM »

didnt work installing vertex 4
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.