• REGISTRATION REQUIREMENTS:

    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" ?

woei

Member
Showcase
Hi,

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.
 
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.
 
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 :)
 
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.
 
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 :)
 
Back
Top