Overriding a View Function
Jamroom Developers
If you want the URL to change, simple use a jrCore_location call instead - i.e.
function xxCustom_parse_url_listener($_data, $_user, $_conf, $_args, $event) {
if (isset($data['module']) && $_data['module'] == 'jrBlog' && isset($_data['option']) && $_data['option'] == 'update') {
$url = jrCore_get_module_url('xxCustom');
jrCore_location("{$_conf['jrCore_base_url']}/{$url}/update-blog");
}
return $_data;
}
That will redirect the user to the URL passed into jrCore_location.