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.
Yep, you can use hook_menu()
Payment redirect and return method (5 replies) Tue, 05/06/2008 - 07:06
- Re: Payment redirect and return method (05/06/2008 - 15:08)
- Thanks (05/07/2008 - 05:42)
- Yep, you can use hook_menu() (05/07/2008 - 09:10)
- Re: Yep, you can use hook_menu() (06/12/2008 - 04:53)
- Success (06/12/2008 - 07:06)
- Re: Yep, you can use hook_menu() (06/12/2008 - 04:53)
- Yep, you can use hook_menu() (05/07/2008 - 09:10)
- Thanks (05/07/2008 - 05:42)
|
|



Joined: 08/07/2007