Hello everybody! Congratulations for the module is very simple but powerfull.

How can I print availability calendars inside a hotel_booking node programmatically? Is there a function for that? I want to customize the view of a hotel with some tabs and I cannot find a way to display them in a tpl file.

Another question: Can I add a drop down menu with all the months?

Comments

larowlan’s picture

Status: Active » Fixed

Please see the settings form. Admin->Store->Hotel Booking->Settings.

There is a checkbox for removing the calendars from the node page that gives you the variable name for printing in the tpl file in it's help text.

Re dropdown menu, if you know the Drupal form api you can do this by overriding the theme functions in your theme's template.php - any of the functions in hotel_booking.theme.inc can be copied to your template.php then renamed accordingly and modified as you see fit.

Lee

creatorgr’s picture

Thanks for your time larowlan! I'll try this out!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.