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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Can't Use & Symbol?


Go to End


13 Posts   6157 Views

Avatar
jfusco

Community Member, 53 Posts

27 January 2009 at 11:05am

If I do that, it doesn't show the first paragraph anymore. It just has title, release date and read more.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

27 January 2009 at 11:33am

try <% control Content %>$FirstParagraph.XML<% end_control %>

Avatar
jfusco

Community Member, 53 Posts

27 January 2009 at 12:28pm

Nope. That kills the paragraph display, too.

Are we trying to tell it that it's getting XML by adding .XML? Isn't that causing the problem because it's trying to interpret it as XML?

Avatar
dio5

Community Member, 501 Posts

27 January 2009 at 8:59pm

Just remove this:

<?xml version="1.0" encoding="UTF-8"?>

from your main Page.ss

Avatar
jfusco

Community Member, 53 Posts

28 January 2009 at 4:27am

That appears to have done the trick. Thanks!

Go to Top