Yep, you can use hook_menu()

Posts: 4686
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Yep, you can use hook_menu() to define pages in Drupal that call certain functions when those URLs are loaded. For example, check out the function uc_cart_menu() in uc_cart.module to see how I'm defining static pages for the cart module (anything in the $may_cache) block.

Payment redirect and return method By: willeaton (5 replies) Tue, 05/06/2008 - 07:06