21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 574 Views |
-
Problems with source html editor

3 November 2009 at 5:54am
Hello
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?
Thanks.
Regards
Michael -
Re: Problems with source html editor

3 November 2009 at 7:36am
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.
Mo
| 574 Views | ||
|
Page:
1
|
Go to Top |


