<?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>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: Form Templates</title>
			<link>http://www.silverstripe.org/archive/show/4657?start=0#post7815</link>
			<description>&lt;p&gt;yeah, useCustomClass is way to global for what you're trying to achieve.&lt;br /&gt;what should your custom template contain that formfields can't handle?&lt;br /&gt;using CompositeFields with setID()/addClassName(), and using LiteralFields for any raw HTML needed can get you a long way towards customsing forms.&lt;br /&gt;if you need a different rendering of a specificl FormField, subclass it and change its Field() or FieldHolder() method.&lt;br /&gt;i don't think there's an easy way to circumvent the &amp;lt;% control Fields %&amp;gt; in a custom template, if thats what you're trying to achieve.&lt;/p&gt;&lt;p&gt;we've got a a documentation request outstanding for this kind of customizing: &lt;a href=&quot;http://open.silverstripe.com/ticket/1540&quot;&gt;http://open.silverstripe.com/ticket/1540&lt;/a&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Form Templates &lt;a href=&quot;http://www.silverstripe.org/archive/show/4657?start=0#post7815&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/4657?start=0#post7815&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sun, 04 Nov 2007 15:47:31 +1300</pubDate>
			<dc:creator>Ingo</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/4657?start=0#post7815</guid>
		</item>
		
		<item>
			<title>Re: Form Templates</title>
			<link>http://www.silverstripe.org/archive/show/4657?start=0#post7769</link>
			<description>&lt;p&gt;I would be interested in this as well!&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Form Templates &lt;a href=&quot;http://www.silverstripe.org/archive/show/4657?start=0#post7769&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/4657?start=0#post7769&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 02 Nov 2007 05:33:30 +1300</pubDate>
			<dc:creator>lukehumble</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/4657?start=0#post7769</guid>
		</item>
		
		<item>
			<title>Form Templates</title>
			<link>http://www.silverstripe.org/archive/show/4657#post4657</link>
			<description>&lt;p&gt;Hi, I'm trying to set my site up to use a custom template to display the forms, but I'm having some troubles.&lt;/p&gt;&lt;p&gt;I tried overwriting Form.ss, but it seems to be used by the CMS as well, so the admin area was all screwed up by the new form template.&lt;/p&gt;&lt;p&gt;So I put my template into PageForm.ss and changed the page template to use &amp;lt;% include PageForm %&amp;gt; instead of $Form, which works fine (if I put &amp;lt;% control Form %&amp;gt; in it) except that it doesn't work for things like the login page form, since it's rendered with Form.ss but isn't in the Form control.  &lt;br /&gt;I could override LoginForm and change it's forTemplate(), but that would have a problem with the &amp;lt;% control Form %&amp;gt; in the template, and I was wondering if there's a tidier and more consistent way.  I thought of overriding the Form class, but I can't do that...if I just subclass it or use Object::useCustomClass('Form', 'PageForm'), things like the LoginForm still won't use it, and I'd rather not hack any of SilverStripe's files.&lt;/p&gt;&lt;p&gt;Can anyone recommend a nicer way of doing this?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Form Templates &lt;a href=&quot;http://www.silverstripe.org/archive/show/4657#post4657&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/4657#post4657&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 05 Sep 2007 12:40:27 +1200</pubDate>
			<dc:creator>Nathan Cox</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/4657#post4657</guid>
		</item>
		

	</channel>
</rss>