XF 2.2 How can i know if i am in an overlay?

Robert9

Well-known member
index.php?members/name.1/

I can view my profile like normal.
But also i can open it in an overlay.
Somehow XF knows that, when i am in an overlay and shows me only the page and not the header with menues.
I want to show /members/ in an overlay, but also i want to hide (better not show) some of the panes.
If i would have something like: if ($inOverlay == 1) then i would have a solution for my scenario.
 
Back
Top Bottom