Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Is it possible to use umbraco.presentation.UmbracoContext.Current.Request["app"].ToLower() == "content" in the event handler?
because i'm trying to figure out how to determine which section i am currently browsing.
Thanks,Sherry
Hi Sherry,
Which event handler are you hooking into?
As there might be a better way to handle this - checking a node's document type, etc? As events could also be triggered from outside the back-office (e.g. "Publish at" documents).
Cheers, Lee.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Use request in the event handler
Hi,
Is it possible to use umbraco.presentation.UmbracoContext.Current.Request["app"].ToLower() == "content" in the event handler?
because i'm trying to figure out how to determine which section i am currently browsing.
Thanks,
Sherry
Hi Sherry,
Which event handler are you hooking into?
As there might be a better way to handle this - checking a node's document type, etc? As events could also be triggered from outside the back-office (e.g. "Publish at" documents).
Cheers, Lee.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.