abdfahim
Well-known member
I have a custom page which is accessible at example.com/portal-a. The page is loaded via an action class.
What conditional should I use to hide advertisements on that page?
I tried to get the template name, but couldn't really find out which variable stores that information. Tried
What conditional should I use to hide advertisements on that page?
I tried to get the template name, but couldn't really find out which variable stores that information. Tried
{{ dump(vars()) }}
, {{ dump($xf) }}
, {{ dump($template) }}
with no luck.