<?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/embedding-a-contact-form-in-a-sidebar/#PageComment_322</link>
			<description>[code]$this-&gt;redirect($this-&gt;Link(&quot;?...&quot;));[/code]

is all you need...

[code]Director::redirect(); [/code]

is depricated</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_322</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_308</link>
			<description>If you are having trouble getting the $LoyaltyForm to display maybe try running a ?flush=1 in case your sidebar template is not being included, or try putting the $LoyatlyForm on the page template directly to test that it returns html for the form, if that does not work maybe you need to add LoyaltyForm to the $allowed_actions array for that controller but I don't think you would need to.

The important thing is that you have a function called LoyaltyForm() in your Page_Controller and that the current page you are viewing extends the Page_Controller class so that it can inherit it.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_308</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_307</link>
			<description>Love this website, unfortunately the above did not work for me. Form never appears. Could be that I pasted it wrong, will investigate. Anyone else had success with this one?</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_307</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_298</link>
			<description>Great tutorial. However, there seems to be a tiny, yet crucial mistake with the part used to check what page you want the form on. It took me a while to figure out why the check box field wouldn't stay ticked after i saved my page. It seems that &quot;s&quot; in showLoyaltyForm is not capitalized which was causing the problem.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_298</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_143</link>
			<description>Really nice use of SiteConfig and the Contact form. I've been working on something similar where custom forms can be activated for pretty much any page but I haven't used SiteConfig as the central config.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/embedding-a-contact-form-in-a-sidebar/#PageComment_143</guid>
		</item>
		

	</channel>
</rss>