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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
Correction. It saves it but doesn't show in the editor - the content vanishes. So if you save it again it clears the content.
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?
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)