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

Html tags shown <strong> <p> on published site


Reply

7 Posts   1368 Views

Avatar
raamklaza

19 March 2009 at 2:29am (Last edited: 19 March 2009 5:03am), Community Member, 182 Posts

I have an blog module where i activated the wysiwyg option, now i and new lines, bold and others when i go to the published site the layout isn't taken over from wysiwyg... http://www.zeeppompje.nl/valentijns-verrassing/

As you can see it will show <strong> <p>

Avatar
raamklaza

20 March 2009 at 8:13am Community Member, 182 Posts

Bump...

Does anyone know the reason for this and a solution>?

Avatar
simon_w

20 March 2009 at 8:22am Forum Moderator, 474 Posts

You need to update the BlogEntry template in your theme to use $ParsedContent instead of $Content.Parse(BBCodeParser) (or whatever it's using)

Avatar
raamklaza

20 March 2009 at 9:21am Community Member, 182 Posts

I am using the wysiwyg...

Where can i change that?

Avatar
raamklaza

21 March 2009 at 3:48am Community Member, 182 Posts

Anyone?

Avatar
simon_w

21 March 2009 at 8:16am Forum Moderator, 474 Posts

In the templates. Most likely themes/yourthemename_blog/templates/Layout/BlogEntry.ss

Avatar
raamklaza

21 March 2009 at 8:23am Community Member, 182 Posts

Aaah yes briliant :)

I think it works now again :)