1. 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

Discussion in 'Styling and Customization Questions' started by localhost8080, Dec 25, 2014.

  1. localhost8080

    localhost8080 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.
  2. Brogan

    Brogan 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.
    localhost8080 likes this.

Share This Page