1851 Posts in 1606 Topics by 561 members
|Go to End|
4 February 2010 at 12:37pm Last edited: 25 February 2010 10:55am
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?
25 February 2010 at 10:58am
[Three weeks later] Could somebody spare a minute to shed any light on this?
25 February 2010 at 12:37pm Last edited: 25 February 2010 12:38pm
Your BlogEntry.ss template must have something like this, check it:
<% if IsWYSIWYGEnabled %>
<% else %>
<% 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,
6 March 2010 at 11:02am
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,
|Go to Top|