<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		<atom:link href="http://www.ssbits.com/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2431</link>
			<description>Как часто человеку приходиться выбирать между синицей в руках и журавлем, парящим над головой. Но на самом деле он выбирает между страхами. Он боится оставить все так, как есть, если его это не устраивает. И боится, что не добьется того, на что надеется, но потеряет синицу. &lt;a href=&quot;http://tih-info.ru&quot;&gt; &lt;/a&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2431</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2430</link>
			<description>Доброго времени суток! Не вижу условия использования информации.&lt;a href=&quot;http://www.itranspark.ru/&quot;&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2430</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2428</link>
			<description>Красивый пост, многосмысленный…	&lt;a href=&quot;http://orentgene.ru/&quot;&gt; &lt;/a&gt; &lt;a href=&quot;http://prodamsite.com/&quot;&gt; &lt;/a&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2428</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2427</link>
			<description>Я от них безума!	&lt;a href=&quot;http://orentgene.ru/&quot;&gt; &lt;/a&gt; &lt;a href=&quot;http://prodamsite.com/&quot;&gt; &lt;/a&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2427</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2425</link>
			<description>круто..взяла почти все)) &lt;a href=&quot;http://dp.tj//&quot;&gt; &lt;/a&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2425</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2423</link>
			<description>отлично излагаете &lt;a href=&quot;http://motones.ru/&quot;&gt; &lt;/a&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2423</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2249</link>
			<description>@Colin Burns: I was just struggling with the exact same error and after mucking about for an hour trying to figure it out, I discovered that it was due to the fact that I had overlooked the *double* forward-slashes in the following line of code, between &quot;comments&quot; and &quot;$Action&quot; (turns out it is essential for executing any actions on the comment objects!):

[code]
Director::addRules(50, array('admin/comments//$Action/$ID' =&gt; 'CommentAdminExtension'));[
/code]</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_2249</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_1863</link>
			<description>I just tried this and it works great.  only thing I can't figure out is getting the Cookie to set correctly.  Now only the email field is prefilled and the others are not.  i followed the tutorial line by line.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_1863</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_1822</link>
			<description>This is much easier now they've added an extension. The following remove the URL field and adds an email one:

_config.php:

Object::add_extension('PageCommentInterface', 'MyPageCommentInterface');
DataObject::add_extension('PageComment','MyPageComment');
CMSMenu::remove_menu_item('CommentAdmin'); 
Director::addRules(50, array( 'admin/comments//$Action/$ID' =&gt; 'MyCommentAdmin', ));

MyPageCommentInterface.php:

&lt;?php
class MyPageCommentInterface extends DataObjectDecorator {
	function updatePageCommentForm($form) {
		// optional commenter email
		$form-&gt;fields-&gt;insertBefore(new TextField(&quot;CommenterEmail&quot;, _t('PageCommentInterface.COMMENTEREMAIL', &quot;Your email&quot;)),'Comment');
		$form-&gt;fields-&gt;removeByName('CommenterURL');
	}
}

MyPageComment.php:

&lt;?php

class MyPageComment extends DataObjectDecorator  {
	function extraStatics() {
		return array(
			'db' =&gt; array(
				&quot;CommenterEmail&quot; =&gt; &quot;Varchar(255)&quot;,
			)
		);
	}
	public function updateCMSFields(FieldSet &amp;$fields) {
		$fields-&gt;push(new TextField('CommenterEmail', 'Commenter Email'));
	}
	
	function updateFieldLabels(&amp;$labels) {
		parent::updateFieldLabels($labels);
		$labels['CommenterEmail'] = &quot;Commenter Email&quot;;
	}

}

MyCommentAdmin.php:

&lt;?php

class MyCommentAdmin extends CommentAdmin  {

	function EditForm() {
		$form = parent::EditForm();
		$commentfields = $form-&gt;fields-&gt;fieldByName('Comments')-&gt;fieldList;
		$commentfields['CommenterEmail'] = _t('CommentAdmin.COMMENTEREMAIL', 'Email');
		unset($commentfields['CommenterURL']);
		$form-&gt;fields-&gt;fieldByName('Comments')-&gt;fieldList = $commentfields;
		$form-&gt;fields-&gt;fieldByName('Comments')-&gt;detailFormFields-&gt;insertBefore(new TextField('CommenterEmail', _t('CommentAdmin.COMMENTEREMAIL', 'Email')),'Comment');
		$form-&gt;fields-&gt;fieldByName('Comments')-&gt;detailFormFields-&gt;removeByName('CommenterURL');
		return $form;
	}

}</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_1822</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_1809</link>
			<description> I admire what you have done here. I love the part where you say you are doing this to give back but I would assume by all the comments that is working for you as well. Do you have any more info on this?http://www.beatsbysolo.com/
http://www.mbtshoes-cheap.net/</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/adding-an-email-field-to-the-page-comment-form/#PageComment_1809</guid>
		</item>
		

	</channel>
</rss>