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

XF 1.4 customizing h1 title on PAGE_CONTAINER if thread


Well-known member

in thread view, I want to include informations from custom thread fields to the h1 title section.

As I know the h1 is generated at PAGE_CONTAINER - but how can I

1) know if the current page is thread_view


2) access $thread values at PAGE_CONTAINER ?

Thank you and best regards + merry christmas.


XenForo moderator
Staff member
You use a conditional statement to target a particular page - see the link in my signature.

The FAQ in my signature explains how to pass variables to templates.