By ocamp on
Hi, I would like to execute some code if the user is viewing a node. but I need the node to be being viewed at the url node/[nid], but not to be executed if the node gets viewed in a view.
Thanks for any help
Hi, I would like to execute some code if the user is viewing a node. but I need the node to be being viewed at the url node/[nid], but not to be executed if the node gets viewed in a view.
Thanks for any help
Comments
<?phpif(preg_match('/^node\/\
Contact me to contract me for D7 -> D10/11 migrations.
You can also use$node =
You can also use