Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Which template is "Most recent comments" ?

Discussion in 'Showcase Support' started by woei, May 12, 2014.

  1. woei

    woei Member Showcase


    I'm trying to make a widget block with this block in it:
    Screenshot 2014-05-12 12.59.05.png

    But I can't find the right template for this block? Has anyone made this before in a block? I'm using the BD widget framework.
  2. Bob

    Bob Developer Staff Member

    There is no Renderer in the [bd] widget framework for showcase comments. You can't just place template code somewhere and expect it to display data. The data needs to be exposed (which is what a Renderer does for the widget framework).

    There is no individual template for that block either (its just template code located in the sidebar template for showcase index).

    You can request a new [bd] widget framework render for making comment widgets if you want to (just create a thread in the showcase suggestions). Its probably something that a few people would like to have.
  3. woei

    woei Member Showcase

    Ok. And about the template section, the widget framework has the option to load templates and that works quite ok when selecting the right templates :)
  4. Bob

    Bob Developer Staff Member

    I fully understand what the [bd] widget framework does and how it works. What you are talking about requires DATA be exposed for that to work (which in this case, there is no exposed data). What you want to do can not be done without either creating a renderer OR creating a template with a php callback (which will require programming as there are no methods in showcase setup to use the xen:callback). You'd need to write your own class and methods for being able to use a php callback.
  5. woei

    woei Member Showcase

    Not implementing that you did not know, but I had some good experiences with it. So it was my assumption it was easy and the magic did the rest :)
  6. Bob

    Bob Developer Staff Member

    lol Im still waiting for the xen:magic tag :D
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.