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

forum_list_nodes hook is MIA?

Discussion in 'XenForo Development Discussions' started by DieselMinded, May 3, 2016.

  1. DieselMinded

    DieselMinded Active Member

    trying to put rotating banners on forum_list_nodes but its like it don't exist .

    how do i show something under the forum nodes list and no where else?

    thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If there is an ad template in that locations, use a conditional statement to only display on a named template.

    If there is no as template or hook, you would need to edit the template to add your own template or code where you want it.

    Or if you are using a template modification, you should be able to target the exact position using a simple replacement or regex.
     
  3. DieselMinded

    DieselMinded Active Member

    when using debug mode to show hook locations it shows
    forum_list_nodes
    as a hook, but if you try to call it its MIA

    Problem is trying to add something under the forum home node list, to stretch forums to match sidebar length ...

    if you use the bottom of nodelist template it puts it on forum view that has subforms too , i only want to show on forum home
     
  4. Lawrence

    Lawrence Well-Known Member

    Why not just use a template modification for the forum list template?
    Find <xen:sidebar>
    Replace <xen:include template="your_template" /> $0
     
  5. DieselMinded

    DieselMinded Active Member

    i have done that where do i put it to only show on bottom of forum index
     

Share This Page