1500 Posts in 413 Topics by 448 members
Blog Module
SilverStripe Forums » Blog Module » Main blog post being served from TinyMCE full of escape characters
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 1328 Views |
-
Main blog post being served from TinyMCE full of escape characters

4 February 2010 at 12:37pm Last edited: 25 February 2010 10:55am
Hello,
I'm building my first site with silverstripe and, in general, I'm very impressed with it. I'd be grateful for advice with a problem I've just encountered.
Running SS 2.3.5, I have installed 0.2.1 of the blog module and enabled WYSIWYG editing according to http://www.silverstripe.org/archive/show/185873#post185873. Although my blog front page is showing text rendered as it should be, SS is serving the full post using escape characters, so that my headings are showing as marked-up plain text rather than in properly rendered styles.
How can I correct this, please?
-
Re: Main blog post being served from TinyMCE full of escape characters

25 February 2010 at 10:58am
[Three weeks later] Could somebody spare a minute to shed any light on this?
Many thanks.
-
Re: Main blog post being served from TinyMCE full of escape characters

25 February 2010 at 12:37pm Last edited: 25 February 2010 12:38pm
Hi!
Your BlogEntry.ss template must have something like this, check it:
<% if IsWYSIWYGEnabled %>
$Content
<% else %>
$ParsedContent
<% end_if %>In any case, you must simply call $Content.
In the BlogHolder, it’s normal that you see the url tag, since it’s not HTML.
Also, I don’t see NEW entries, have you tested it? Default entries are borne to be badly displayed, since they use BBCode.
Hope it helps,
Juan -
Re: Main blog post being served from TinyMCE full of escape characters

6 March 2010 at 11:02am
Hi Juan
Many thanks for responding. Apologies for not getting back to you. I did have the code you mention in my BlogEntry.ss file but, owing to this issue, have decided not to pursue using the blog module at least until the production release of 2.4 and a compatible blog module that, I hope, will resolve this issue.
All the best,
Dominic
| 1328 Views | ||
|
Page:
1
|
Go to Top |

