Hi, I've noticed that Pay+Donate adds form links to the base Navigation menu, what function handles that, where can it be found?

CommentFileSizeAuthor
#1 patch_commit_df1af967acd8.patch723 bytesyvmarques

Comments

yvmarques’s picture

StatusFileSize
new723 bytes

I had the same problem and here is the patch that fix it. Hope it can help you :)

yvmarques’s picture

Status: Active » Needs review
dartdev’s picture

Status: Needs review » Active

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

yvmarques’s picture

Oh 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,

dartdev’s picture

No probs, still, any clue what function handles that? :)

yvmarques’s picture

Maybe its can help you, but Donate creates menu entries via hook_menu on the file donate.module around lines 40.

Regards,

-- Yvan

letapjar’s picture

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