Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

WIdget template


2 Posts   886 Views


20 April 2010 at 12:05am Community Member, 509 Posts

Hi All,
I was wondering if anyone could tell me if there is a way to get a Widget controller to return a custom template?

Basically, I am using ajax to call in some custom html into my widget, I would like to refresh this html when I click a button in the widget, but I cant seem to get my widget controller to output the html, without all the other html for the page it sits on.

Any ideas?



21 April 2010 at 1:16am Community Member, 509 Posts

No ideas on this?