Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » HELP!!! Would like a quick contact form on homepage

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1049 Views
  • dannycheeseman
    Avatar
    Community Member
    1 Post

    HELP!!! Would like a quick contact form on homepage Link to this post

    Hello All,

    I would like to have a quick contact form on my homepage

    like the one one on here http://www.quicksaleproperties.com/

    Could someone please help me with a detailed newbie description as I have been searching for hours with no avail.

    Thank you in advance.

    Danny

  • _Vince
    Avatar
    Community Member
    161 Posts

    Re: HELP!!! Would like a quick contact form on homepage Link to this post

    Yup. Don't know how much of a newbie you are.

    You download the userforms module. It'll be on the Extensions (you can see it in the black strip on top of this page)

    Put the folder in with the rest of your silverstripe stuff

    Rename the folder to "userforms" (get rid of the version id and stuff like that)

    Run /dev/build from your browser

    If you go into the CMS and create a new page type, you will see "user defined form" among your choices.

    Create a page of that type.

    The page will have a bunch of tabs, choose the "Form" tab

    Pick the field types you want from the list

    Save and publish

    Bob's your uncle. Pretty much.

    The page will still have a $Content variable. Your next step is to edit the tamplate (page.ss) to have two divs, with the $Content on one side and the form on the other. Or something a lot like that.

    1049 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.