Jump to:

791 Posts in 369 Topics by 303 members

Widgets

SilverStripe Forums » Widgets » HTML Widget

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 415 Views
  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    HTML Widget Link to this post

    Hi, I tried out the widgets feature today- first one i tried does not work : (

    HTMLWidget shows on the widget area in the cms but the content you type in isn't saved.

    Is there a fix for this? Is there a list of approved / working widgets?

    w

  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    Re: HTML Widget Link to this post

    Correction. It saves it but doesn't show in the editor - the content vanishes. So if you save it again it clears the content.

  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    Re: HTML Widget Link to this post

    seems like this has been broken for a while. discussed here:
    http://groups.google.com/group/silverstripe-dev/msg/1a3b1292c4f46117

    Its a bug in the core. Is there any chance of this being fixed?

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: HTML Widget Link to this post

    I'm agaist hacking the core so the closet I've got to this one is to provide the BBCode... just add a normal textfield (e.g. named "WidgetContent") and then use this in teh template...

    $WidgetContent.Parse(BBCodeParser)

    415 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.