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;
}
| Comment | File | Size | Author |
|---|---|---|---|
| modal_noderef-alter_url.patch | 761 bytes | sirkitree |
Comments
Comment #1
locomo commented+ 1 .. this would vastly expand upon the possible uses of this module
Comment #2
mbutcher commentedThis is fixed now. Thanks for the patch, and sorry it took so long.