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.

CommentFileSizeAuthor
#3 hook_menu_update-577726-2.patch994 bytespfaocle
#1 ec_roles.patch809 bytesjax
hook_menu.patch675 bytesbpirkle

Comments

jax’s picture

Status: Active » Needs review
StatusFileSize
new809 bytes

'page arguments' should point to an array.

pfaocle’s picture

Priority: Normal » Major
Status: Needs review » Needs work

"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.

pfaocle’s picture

Status: Needs work » Needs review
StatusFileSize
new994 bytes

Amended patch includes "store admin manage" perm instead.