Rooms availability search settings

denisk's picture
denisk
Fri, 07/29/2016 - 08:24
#1
Rooms availability search settings

Hello,

For me it's crucial to have the results of rooms availability search settings gruped as single units instead of by unit type. And when I've set this option like in the picture below

https://i.imgsafe.org/b4c5343163.png

I get the results like this

https://i.imgsafe.org/b4c54691b3.png

It's like there's no css style for this option. I want the results to look like in regular search like this:

https://i.imgsafe.org/b4c554a0d7.png

Please tell me what to do to have the results displayed as in the last picture. My whole website is based on this so this is very important to me. Thank you in advance! Denis

khoa's picture
khoa
Sat, 07/30/2016 - 23:25

Hi,

1. Please update the attached file to sites/all/themes/md_hillter/templates. Link: https://www.dropbox.com/s/3tal0kewq9k2ytb/rooms_booking_results.tpl.php?...

2. Open style.css(sites/all/themes/md_hillter/css/front), then add following code into the bottom of that file:

.individual .rooms-search-result__unit-base-price {    display: none;
}
.rooms-search-result__new-price label { font-size: 17px;
}
.rooms-search-result__new-price .rooms-search-result__new-price-amount {
font-size: 17px;
font-weight: bold;
}
.individual-item {
margin-bottom: 35px;
padding-bottom: 35px;
border-bottom: 1px solid #cccccc;
}

3. Clear Drupal cache.

Thanks!

denisk's picture
denisk
Mon, 08/01/2016 - 05:22

Hey there again,

Thank you so much for your reply! However, I still haven't solution to my problem. You see, my website will have only 3 bookable unit types and about 50 Unit Desciption pages, and exactly the same count of Bookable units. The main idea is to link Bookable unit with the appropriate Unit description page. For that reason, for my Bookable Unit Types, besides rooms_booking_unit_options, I've created two more fields field_room_description and field_room_images (see the picture below)

https://i.imgsafe.org/f0f020896a.png


With your code, and added php code line like this (see the picture below)

https://i.imgsafe.org/f10bc2fb1b.png


I get this result (see the picture below)

https://i.imgsafe.org/f0f030f958.png


And, as I said before, I'd like to have result similar to this (see the picture below)

https://i.imgsafe.org/f0f036e0ca.png

(Maybe I will have to create extra field View more information that would be link to appropriate Unit description page, what do you think?)


And that's why I've created those two more fields field_room_description and field_room_images. Could you please tell me how to extract field description,image and title in php? In my case your php line didn't get any result, title is not shown.

<h2 class="reservation-room_name"><?php print $unit['unit']['rooms_unit'][$unit['book_unit_form']['unit_id']['#value']]['rooms_booking_unit_options']['#object']->name ?></h2>

Please, I need your help! Thank you in advance!

PS I'm still doing this on local machine so I can't give you site url or admin account.

khoa's picture
khoa
Mon, 08/01/2016 - 05:46

Hi,

Please send your source code + database to [email protected]. I'll take a look on your website. Remember to include your admin info in the email.

Thanks!

denisk's picture
denisk
Mon, 08/01/2016 - 06:37

I've sent you an email. Plese look in your spam folder for sometimes it can be found there.

Thank you so much

D.

denisk's picture
denisk
Tue, 08/02/2016 - 07:33

I'm still waiting for your anwser...

Thank you in advance!

khoa's picture
khoa
Tue, 08/02/2016 - 08:19

Hi Denisk,

Can you please export and send me your database again? I imported into mySQL database but it showed many error messages.

Thank you!

khoa's picture
khoa
Tue, 08/02/2016 - 08:25

You can use this module to make a backup database: https://www.drupal.org/project/backup_migrate

denisk's picture
denisk
Tue, 08/02/2016 - 08:35

Database sent to your email using quick settings. Hope it's OK now. And please look in your spam folder if you don't see it in Inbox folder.

khoa's picture
khoa
Tue, 08/02/2016 - 10:45

Hi,

Please check your email. I have sent the updated source code to you.

Thanks!

denisk's picture
denisk
Wed, 08/03/2016 - 08:15

Thank you sooo much for this! This is what I was trying to achieve! Because of your great support I don't have other choice than to rate this theme with 5 stars.

khoa's picture
khoa
Wed, 08/03/2016 - 17:43

Thank you Denisk and I hope you would buy more themes of us :)

Tank's picture
Tank
Sat, 03/04/2017 - 13:46

Hello,

I have exactly the same kind of issue (with 2 unit types and 6 unit descriptions). 

I copy/paste what you described in #2 and have the same problem after...

Please tell me if I should send you the code?

phuonght's picture
phuonght
Mon, 03/06/2017 - 03:26

Hi Tank,

Can you please send us your site url so we can have a check? Also, please describe more about your problem. 

Thank you.

phuonght's picture
phuonght
Tue, 03/07/2017 - 03:04

Please send your source code and database to our developer's email: [email protected]. He will help you fix problem.

Thank you.

Tank's picture
Tank
Tue, 03/07/2017 - 13:47

It has been sent (3 hours from now). Thank you.

NB : for your info, I never receive the notification for the new comments.

Tank's picture
Tank
Wed, 03/08/2017 - 03:36

Could you please confirm that you have received the email?

Tank's picture
Tank
Fri, 03/17/2017 - 11:20

Hello,

For the information of other users, I didn't get the help I need for this theme. The support was very long to answer and at the end, we have lost our time because the theme doesn't match "B&B" needs (as it was written in the description)!

Very disapointed :-(

nlampridis's picture
nlampridis
Wed, 04/12/2017 - 11:26

Hello, is it possible to add "Units" field on right search box settings ?

I send you image file

Image title


Thanks

phuonght's picture
phuonght
Thu, 04/13/2017 - 05:45

Yes of course. Please send us your site admin account and FTP account by private comment.

Thank you.

phuonght's picture
phuonght
Fri, 04/14/2017 - 04:18

We tried to access but got following problem:

"Why is it necessary?

Your IP address (171.249.117.154) has been blocked for security reason. Probably your IP address has been used for violation of server security rules before.

We have to make sure that this is not a malicious visit by an automated robot. Filling in the captcha is required to delist you IP address.

Thank you."

nlampridis's picture
nlampridis
Fri, 04/14/2017 - 04:41

Ok i send you ip address in my hosting provider to unblock it. 

Maybe you must ivestigate this problem to find a solution because my provider says that they recieved many attacks from your country.

I will let you know when unblocked your ip address

Thanks

nlampridis's picture
nlampridis
Mon, 04/17/2017 - 14:34

Hello,

i recieved message from my provider and they said that this ip 171.249.117.154 isnt blocked. Can you try again or send me the solution to do it myself.

Thanks

khoa's picture
khoa
Sat, 04/22/2017 - 08:09

Hi Nlampridis,

I showed up the UNIT field. Please check it.

Thanks!

nlampridis's picture
nlampridis
Sat, 04/22/2017 - 13:28

Thank you Khoa, is it possible to move a little the table ( Adult and Child ) because appearing very near on room1 and room2 ?

Image title

thanks

khoa's picture
khoa
Mon, 04/24/2017 - 05:21

Yes, you can use CSS to resolve that problem.

nlampridis's picture
nlampridis
Sat, 05/06/2017 - 09:47

Hi, i try the check avaliability menu on home page. I have 2 bookable units 1) Triple bed apartment and 2) Double bed apartment,  but appear only double bed apartment. Why? 

My site is http://www.psammos.com

Thanks

phuonght's picture
phuonght
Mon, 05/08/2017 - 00:07

So please send us your site url admin account.

Thank you.

phuonght's picture
phuonght
Thu, 05/11/2017 - 03:51

Hi,

We fixed. check please.

nlampridis's picture
nlampridis
Sat, 05/13/2017 - 11:24

Thank you

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.