3818 Posts in 841 Topics by 527 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: Blog module and FirstParagraph - BUG? | 319 views |

12 June 2008 at 7:47pm
Possible bug with the current nightly build and SS 2.2.2 fresh install.
This only applies when BlogEntry::allow_wysiwyg_editing(); is included in _config.php
Line 111 of BlogEntry.php - ParagraphSummary Method
$this->obj('Content')->FirstParagraph('html') doesn't appear to return the first paragraph at all? Seems to work fine when wysiwyg is disabled.

12 June 2008 at 7:51pm
Ah, comment above FirstParagraph method in sapphire/core/models/fieldtypes/Text.php

7 July 2008 at 11:45am
This issue is being tracked here: http://open.silverstripe.com/ticket/2547

23 August 2008 at 4:23am
Thank you VERY MUCH for this thread-- this was VERY helpful to me, as I had the same problem myself after enabling HTML in the Blog Entries.
//Garrett
| 319 views | |||
| go to top | Reply |