5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1530 Views |
-
How do I insert HTML in Silverstripe?

29 March 2010 at 3:17pm
Hi there,
Silverstripe doesn't seem to be able to read and HTML I insert! Is there any way for me to do this or do I kiss HTML goodbye?
Cheers,
S. -
Re: How do I insert HTML in Silverstripe?

30 March 2010 at 3:27am
Hi!
Strange question. There’s a big HTML button in the HTML-enabled fields of the CMS, and template files are HTML.
-
Re: How do I insert HTML in Silverstripe?

30 March 2010 at 10:57am
Hi,
Yep I've been trying to use this button in the CMS. Any code I insert into the HTML, Silverstripe won't read and therefore it is not published :/
-
Re: How do I insert HTML in Silverstripe?

30 March 2010 at 4:20pm
It depends what HTML you're trying to insert. It only accepts by default a small subset of elements (divs,links, images, headers etc). You can however customize it to allow what ever you need / want.
http://doc.silverstripe.org/doku.php?id=htmleditorconfig#customizing_allowed_html
| 1530 Views | ||
|
Page:
1
|
Go to Top |


