The Message Toggle module adds Show/Hide links to all Drupal messages. Clicking these links within a message will toggle the visibility of that message.
Provides a field 'Hotel Booking' which accepts an integer value which will be the hotel_id from booking.com. The field is formatted as a form which accepts start and end dates and returns a list of rooms with their corresponding data and a select list for selecting the room with its quantity(1 room, 2 room, etc.) to be booked.
After the room list is displayed, users can select the rooms they require and submitting this form will open, below the room list, an iframe connected to booking.com, where user can book their rooms over a secure server.
Configurations:
* For using the module you must have the following -
Affiliate ID for Booking.com
Affiliate Username for Booking.com
Affiliate Password for Booking.com
* You can select the where the room info will be loaded in the page by providing the html element's id.
* The currency in which the room prices will be shown can also be selected.
* It provides various configurations for selecting which informations will be shown. The configurations correspond to the arguments accepted by the relevant booking.com function and the information returned by it.
Theming:
The rooms list can be themed by overriding the module's theme function for the field formatter -