Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Can't Use & Symbol?

Forum for content editors and CMS users.

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

Page: 1 2
Go to End
Author Topic: 3179 Views
  • jfusco
    Avatar
    Community Member
    52 Posts

    Re: Can't Use & Symbol? Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Can't Use & Symbol? Link to this post

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

  • jfusco
    Avatar
    Community Member
    52 Posts

    Re: Can't Use & Symbol? Link to this post

    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?

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Can't Use & Symbol? Link to this post

    Just remove this:

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

    from your main Page.ss

  • jfusco
    Avatar
    Community Member
    52 Posts

    Re: Can't Use & Symbol? Link to this post

    That appears to have done the trick. Thanks!

    3179 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.