• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Add class to PAGE_CONTAINER if viewing prefix filtered page


Active member
Need to target prefix filtered pages so want to add a class to PAGE_CONTAINER.

The following works within the forum_view template but not PAGE_CONTAINER

{{ $filters.prefix_id ? 'class' : '' }}
Is it possible to check if you are viewing a prefix page within this template?