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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

WIdget template


Go to End


2 Posts   1162 Views

Avatar
Mo

Community Member, 541 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, 541 Posts

21 April 2010 at 1:16am

No ideas on this?