21304 Posts in 5736 Topics by 2603 members
| Go to End | ||
| Author | Topic: | 2198 Views |
-
Re: Page Links error in FirstParagraph

14 March 2011 at 9:02am Last edited: 14 March 2011 9:03am
Using figjam's solution above I formated my "Preview.ss" code like this:
$Content.FirstParagraph(html)
Worked perfectly for me.
Thanks, figjam!
Chris.b
-
Re: Page Links error in FirstParagraph

1 June 2011 at 10:00pm
Combining this thread with http://silverstripe.org/general-questions/show/16384#post301296 I ended up changing
/sapphire/core/model/fieldtypes/Text.php (line 257) from
return $data;
to
return DBField::create('HTMLText', $data);
| 2198 Views | ||
| Go to Top |


