Question about [Advanced] Template Widget

Discussion in '[bd] Widget Framework' started by anto74, Mar 23, 2014.

  1. anto74

    anto74 Member

    Hi @xfrocks
    to increase visibility of Groups created in my forum i would create widget [Advanced] Template in home page and shows the featured groups ( two groups )
    featured.jpg
    I created the widget and i inserted Template Title , but nothing shows.
    The template title is correct (Team_featured)
    I'm wrong in something?
    Antonio
     
  2. anto74

    anto74 Member

    The Groups shows but only in Group page, not in Home Page.
    Is not possibile show template in other pages?
     
  3. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Hmm, which template are you using for the renderer? Normally, a widget need a view (template) and data. If you supply the view without data, it won't show up.
     
    1. anto74

      anto74 Member

      anto74 @xfrocks I use Team_featured template: but in widget i can insert only title template...or not? :)
      template.jpg
       
  4. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    From which add-on? Yes, you can only enter template title.
    For your case here, I think you may need to contact the add-on author and ask him/her for [bd] Widget Framework support.
     
    1. anto74

      anto74 Member

      anto74 @xfrocks From Social Teams addon by Nobita.Kun developer :)
      I insert title of template but the widget shows only if the widget is placed in addon page, not everywhere i place the widget
      The addon has already [bd] Widget Framework support ( the developer created one widget for Suggestion Groups)
      Then is not possibile grab the specified template that displays Featured Groups without creating a specific widget? :)
       
  5. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Unfortunately no. You will need to ask him to add support for the widget that you need. Each widget has its own data set. I suspect it works in the add-on page because the page has that data available (and of course, add-on data is not available in other pages, that's why it doesn't work elsewhere).
     
    anto74 likes this.
  6. anto74

    anto74 Member

    I also tried insert in page_container template
    Code:
    <xen:include template="Team_featured"></xen:include>
    but nothing shows :)
    Ok, thanks! :)
     
  7. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Sorry, couldn't help you this time :(
     
    anto74 likes this.
Loading...