<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Extending and hacking'</title>
		<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/</link>
		

		
		<item>
			<title>Re: Blog module and FirstParagraph - BUG?</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952?showPost=151508</link>
			<description>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.&lt;br /&gt;&lt;br /&gt;//Garrett&lt;br&gt;&lt;br&gt;Posted to: Blog module and FirstParagraph - BUG?</description>
			<pubDate>Sat, 23 Aug 2008 04:23:30 +1200</pubDate>
			<author>Garrett Fisher</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952?showPost=151508</guid>
		</item>
		
		<item>
			<title>Re: Blog module and FirstParagraph - BUG?</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952?showPost=115783</link>
			<description>This issue is being tracked here: http://open.silverstripe.com/ticket/2547&lt;br&gt;&lt;br&gt;Posted to: Blog module and FirstParagraph - BUG?</description>
			<pubDate>Mon, 07 Jul 2008 11:45:54 +1200</pubDate>
			<author>Sam Minnee</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952?showPost=115783</guid>
		</item>
		
		<item>
			<title>Re: Blog module and FirstParagraph - BUG?</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952?showPost=90957</link>
			<description>Ah, comment above FirstParagraph method in sapphire/core/models/fieldtypes/Text.php&lt;br /&gt;[code]&lt;br /&gt;/**&lt;br /&gt;	 * Caution: Not XML/HTML-safe - does not respect closing tags.&lt;br /&gt;	 */&lt;br /&gt;[/code]&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: Blog module and FirstParagraph - BUG?</description>
			<pubDate>Thu, 12 Jun 2008 19:51:04 +1200</pubDate>
			<author>Aaron Cooper</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952?showPost=90957</guid>
		</item>
		
		<item>
			<title>Blog module and FirstParagraph - BUG?</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952</link>
			<description>Possible bug with the current nightly build and SS 2.2.2 fresh install.&lt;br /&gt;&lt;br /&gt;This only applies when BlogEntry::allow_wysiwyg_editing(); is included in _config.php&lt;br /&gt;&lt;br /&gt;Line 111 of BlogEntry.php - ParagraphSummary Method&lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;function ParagraphSummary(){&lt;br /&gt;		if(self::$allow_wysiwyg_editing) {&lt;br /&gt;			return $this-&amp;gt;obj('Content')-&amp;gt;FirstParagraph('html');&lt;br /&gt;		} else {&lt;br /&gt;			$parser = new BBCodeParser($this-&amp;gt;Content);&lt;br /&gt;			$html = new HTMLText('Content');&lt;br /&gt;			$html-&amp;gt;setValue($parser-&amp;gt;parse());&lt;br /&gt;			return $html-&amp;gt;FirstParagraph('html');&lt;br /&gt;		}&lt;br /&gt;	}&lt;br /&gt;[/code]&lt;br /&gt;&lt;br /&gt;$this-&amp;gt;obj('Content')-&amp;gt;FirstParagraph('html') doesn't appear to return the first paragraph at all? Seems to work fine when wysiwyg is disabled.&lt;br /&gt;[code][/code]&lt;br /&gt;Problem with the FirstParagraph method?&lt;br&gt;&lt;br&gt;Posted to: Blog module and FirstParagraph - BUG?</description>
			<pubDate>Thu, 12 Jun 2008 19:47:35 +1200</pubDate>
			<author>Aaron Cooper</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/90952</guid>
		</item>
		

	</channel>
</rss>
