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

How can I pass a variable to the ad_above_content template?

Discussion in 'XenForo Development Discussions' started by AndyB, Nov 24, 2014.

  1. AndyB

    AndyB Well-Known Member

    Currently I pass a variable with my Banner add-on by extending the ControllerPublic_Forum file. This works fine for passing a variable for the forum_list template. But what would I need to do to pass a variable instead to the ad_above_content and the ad_below_content templates?

    Thank you.
  2. CharlesXF

    CharlesXF New Member

    Last edited: Nov 24, 2014
    AndyB likes this.
  3. AndyB

    AndyB Well-Known Member

    Thank you kindly, Charles.

    That link is exactly the information I needed and it worked perfectly.
    CharlesXF likes this.

Share This Page