I'm trying to port my Drupal 5 ecommerce + ec_recurring/ec_roles site to Drupal 6. (We sell memberships, members get a special role assignment.) It seems the 6.x-1.0-beta1 ec_roles hook_menu function didn't get full ported to Drupal 6. Attached is a patch that fixed it up.
This doesn't solve all my problems, but one thing at a time. If I don't figure it out in the next day or so I may post some questions.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | hook_menu_update-577726-2.patch | 994 bytes | pfaocle |
| #1 | ec_roles.patch | 809 bytes | jax |
| hook_menu.patch | 675 bytes | bpirkle |
Comments
Comment #1
jax commented'page arguments' should point to an array.
Comment #2
pfaocle"administer products" is no longer a permission in ec4.x - "store admin manage" is needed. Also marking this as major as the admin settings page is inaccessible without this.
Comment #3
pfaocleAmended patch includes "store admin manage" perm instead.