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


Reply


2 Posts   893 Views

Avatar
Mo

Community Member, 509 Posts

20 April 2010 at 12:05am

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?

Mo

Avatar
Mo

Community Member, 509 Posts

21 April 2010 at 1:16am

No ideas on this?