If I do that, it doesn't show the first paragraph anymore. It just has title, release date and read more.
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.
- Previous 10 entries
- 1
- Page 22(current)
try <% control Content %>$FirstParagraph.XML<% end_control %>
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?
Just remove this:
<?xml version="1.0" encoding="UTF-8"?>
from your main Page.ss
That appears to have done the trick. Thanks!
- Previous 10 entries
- 1
- Page 22(current)