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

Problems with source html editor


2 Posts   707 Views


3 November 2009 at 5:54am Community Member, 1 Post


I have a Problem with the HTML Source Editor on the Silverstripe admin site.

I want to embbed a Java Applet into a regular Page, but if i paste the applet Tag into the source editor nothing happen.

<APPLET code="Applett.class" archive = "Applett.jar" width=350 height=200></APPLET>

Wenn i reopen the HTML Source Editor the Tag is gone.

What is my fault?




3 November 2009 at 7:36am Community Member, 509 Posts

I think the HTMLEditorField blocks certain html tags (I would imagine for security reasons).

What I usually do is create another HTMLText entry in the model and then just use add a TextAreaField to the getCmsFields() method. The only issues with this are that the applet wont be embeded within your page content, it will either be above or below.