Currently module only checks the view-mode to redirect the user, but it should also check the path to be sure the user actually tries to open the node path (check the module name).
If I try to render the node programmatically with node_view($node, 'full') the module will redirect.
Check the patch in attachment.
| Comment | File | Size | Author |
|---|---|---|---|
| denynodenidpath.module.patch | 494 bytes | Wuron |
Comments
Comment #1
maartendeblock commentedThank you.
This will be changed in the next version.
Comment #2
maartendeblock commented