raguv12ps
6 years agoAce
Display TKB widget through API
I am working on a custom component to display the TKB widget with id >sections.widget.sections-browser-taplet(For a particular category page) available under TKB section when creating custom page. ...
- 6 years ago
You just need to put that component in your custom component.
Add conditions of user roles and add the widget under those conditions, something like below:
<#assign hasRole = 'Administrator' /> <#if hasRole == 'Administrator' > <@component id="common.widget.name" /> </#if>