Blog

jQuery UI tabbing and accordion display templates

A couple of weeks ago somebody asked me if it was possible to create an accordion template from the grouping display template. > **Note**: here is the original grouping template post - [Grouping search results with display templates for the CSWP](https://www.eliostruyf.com/grouping-search-results-with-display-templates-for-the-cswp/) For these templates I made use of jQuery UI to get the accordion styling on the template. Once I had the

Read article

Adding a custom action to a callout based on the file type

Back in October 2013 I wrote a post on how you could add your custom actions in a callout like this ([Adding a custom action to a callout in SharePoint 2013](https://www.eliostruyf.com/adding-a-custom-action-to-a-callout-in-sharepoint-2013/ "https://www.eliostruyf.com/adding-a-custom-action-to-a-callout-in-sharepoint-2013/")): {{}} This time I had the requirement to only add an action for a specific file type. ## Solution The solution is rather simple. Here is the code from my previous post: ```javascript SP.SOD.executeFunc("callout.js",

Read article

Elio Struyf

Solutions Architect & Developer Expert

Loading...

Let's build together

Manage content in VS Code

Present from VS Code

Engage with your audience throughout the event lifecycle