21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1325 Views |
-
User defined form type page

22 October 2009 at 3:09am
Hello,
I created a form using the user defined form module but now I dont know how to make it appear
in my homepage where I want the form to be visible. I can see the user defined form page created
in my CMS, but I dont know how to make the form itself appear in my homepage in my
published site.
Please help me out!Have a nicer day!
-
Re: User defined form type page

22 October 2009 at 8:20am
Do your template file have the $form variable in it?
(That's what outputs the form)--
Thomas B. Nielsen
http://www.lund-co.dk -
Re: User defined form type page

22 October 2009 at 12:11pm
So thats it I just need to put $form in my template?
And if I happen to have more many forms..then how do I
distinguish which form and where?Thanks and have a nice day!
-
Re: User defined form type page

24 October 2009 at 10:46am
I think the latest version (from the trunk) requires you to add $UserDefinedForm in the content area.
If you are using using User Defined Form, I believe you can only have one form per page, so this form will be loaded into either $Form in your template or $UserDefinedForm in your content area.
If you want to have more than one form on your page, you will probably need to look into making your own forms using these methods:
http://doc.silverstripe.org/doku.php?id=form
Mo
| 1325 Views | ||
|
Page:
1
|
Go to Top |


