Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In hotel_booking.module in room_search/% menu callback function you shouldn't print the output but rather return it.
print theme('page', $content);
should be replaced with:
return t($content);
This will allow other modules to alter the output if needed.
Comments
Comment #1
willvincent CreditAttribution: willvincent commentedIt is this way presently due to time constraints requiring less than ideal coding...
This will ultimately be changed to use theme functions and template files.