Active
Project:
Pay
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2011 at 00:58 UTC
Updated:
28 Dec 2011 at 14:12 UTC
Jump to comment: Most recent file
Hi, I've noticed that Pay+Donate adds form links to the base Navigation menu, what function handles that, where can it be found?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | patch_commit_df1af967acd8.patch | 723 bytes | yvmarques |
Comments
Comment #1
yvmarques commentedI had the same problem and here is the patch that fix it. Hope it can help you :)
Comment #2
yvmarques commentedComment #3
dartdev commentedSorry for the late answer, had some work to do. Not really sure what this patch changes, donation form links are still being added to the Navigation menu on creation.
Comment #4
yvmarques commentedOh my mistake, I was thinking that problem was related to admin part, where you can manage form links and depends on the context, the link to edit the form is broken and that patch fixes it.
Sorry,
Comment #5
dartdev commentedNo probs, still, any clue what function handles that? :)
Comment #6
yvmarques commentedMaybe its can help you, but Donate creates menu entries via hook_menu on the file donate.module around lines 40.
Regards,
-- Yvan
Comment #7
letapjar commented#1380700: pay_node module corrupts menu router when used in conjunction with donate module see this issue for an explanation of why this happens.
easy fix if you simply want to omit pay_node related forms from the menu: add in the following line:
'type' => MENU_CALLBACK,
after line 50 in donate.module. That way a menu item won't be created.