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

XF 1.5 Include Bd Widgets in my custom templates

Discussion in 'XenForo Questions and Support' started by Ubiquity Lab, May 16, 2016.

  1. Ubiquity Lab

    Ubiquity Lab New Member

    I need to include some widgets in my custom templates in the central content and not in the sidebar.
    As far as I understood, from the BD widget panel I can add a widget to the sidebar only.

    Now, for instance, i would need to add the Threads Widget to my homepage custom template.
    So ideally I should add this xen:include directive inside my template:

    <xen:include template="wf_widget_threads" />

    The problem is my template doesn't have the right data needed by the wf_widget_threads template, so it doesn't show up.

    Am I exploring the right way to fulfill my purpose? Or is there another way? What am i missing?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You should ask in the widget add-on thread for support related to it, including how to use it in other templates.
     
  3. RDR

    RDR Well-Known Member

    Widgets can be placed anywhere I think if you provide hooks for them to show... You can create a custom hook in your template and then specify that in the widget you create.

    At least that's how I understand it :)
     

Share This Page