Results Presentation Mode changing

casagrandeale's picture
casagrandeale
Thu, 01/07/2016 - 17:12
#1
Results Presentation Mode changing

Hi, I have some weird behavior with the setup of the presentation mode. I'm using the option

"Show availability on a per-type basis", but sometimes it changes to "Show availability of individual units."

I detected that when I search for availability through a room node description, this setting is changed to individual units.

I think that I can manage to solve editing rooms_booking_results.tpl and removing where per unit is shown, but I think that it will better a fix.

Regards

casagrandeale's picture
casagrandeale
Thu, 01/07/2016 - 17:21

I forgot, I'm using as multilingual variable

Regards

phuonght's picture
phuonght
Thu, 01/07/2016 - 22:01

Sorry,

So it works ok in your site now or you still need our help?

casagrandeale's picture
casagrandeale
Thu, 01/07/2016 - 22:04

 It has a weird behavior. If there is no solution I will just comment the "if" where it chooses to show by unit or by type.

Just to let know that this was happening, if it is useful for you.

Regards

phuonght's picture
phuonght
Mon, 01/11/2016 - 05:50

With this problem, please:

open file sites/all/modules/custom/md_rooms/md_rooms.module,

remove function md_rooms_booking_availability_search_form_submit from line 198 to line 206.

casagrandeale's picture
casagrandeale
Sat, 01/16/2016 - 08:01

Hi, thank you for your response

Removing the function raises an error. I just leave only this sentence

variable_set('rooms_presentation_style', 'rooms_per_type');

I only need to search rooms by type.

Regards

phuonght's picture
phuonght
Mon, 02/15/2016 - 05:12

Sorry for our delay.

Could you send us your site url, admin account and FTP account by private comment? We would like to take a look then fix problem for 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.