Hi,

I am using this module for hotels and it works well. Now I need to duplicate this module for bikes and cars on the same site. So I modified the module for bikes simply by changing 'hotel' with 'bike' in files and added it as another module. (I know it wasn't meant to be used that way)

I actually works very well. I can create types, add rates and modifiers.

But it doesn't update the booking_availability_calendars with initial value while creating the bike type. It doesn't show 'edit' button next to calender month. And when I add /availability/2012/11 to the url I get Access denied.

m sure i have missed something small. Could please guide me to what could have gone wrong.

Thanks
Anuj

Comments

edunewz’s picture

Hi,

Had to work around a little and compare the db instances.

'node/%/availability' is a primary key in table 'menu_router'

just change 'node/%/availability' to 'node/%/availability_xyz' in all files before installing the module and it should work fine.

Thanks for the great module :)
Anuj

edunewz’s picture

Status: Active » Closed (fixed)