I'd like to be able to use this module in conjunction with quicksketch's nodereference_url. In order to do that I need to be able to alter the url of the links that are being generated within modal_noderef_field_links(). Attached patch suggests adding an alter specifically for this purpose.

This would allow any other module to implement something like:

/**
 * Impementation of hook_modal_noderef_field_links_url_alter().
 */
function nodereference_url_modal_noderef_field_links_url_alter(&$url) {
  $node = menu_get_object();
  $url .= '/' . $node->nid;
}
CommentFileSizeAuthor
modal_noderef-alter_url.patch761 bytessirkitree

Comments

locomo’s picture

+ 1 .. this would vastly expand upon the possible uses of this module

mbutcher’s picture

Status: Needs review » Fixed

This is fixed now. Thanks for the patch, and sorry it took so long.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.