Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Easy installing for UserForms

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 2307 Views
  • Pahn
    Avatar
    Community Member
    7 Posts

    Easy installing for UserForms Link to this post

    I am just started using silverstripe. Now I'm trying to install UserForms module. I successfully installed it by extracting the downloaded file, renaming it to userforms then placing it to the root folder, then build the database by dev/build.

    So far I am successful to that point, but I cannot understand the next steps said from http://doc.silverstripe.com/doku.php?id=modules:userforms

    Can someone give a step by step procedure on where and what file should we edit?

    like >> edit this file, (root/folder/file.php), then add $Form << well, somehow like that ^^

  • theAlien
    Avatar
    Community Member
    131 Posts

    Re: Easy installing for UserForms Link to this post

    Hi, welcome.

    If you're using the default BlackCandy-theme it's pretty easy: all is said and done...

    If you're using your own (custom) template, do this:

    1) edit this file (themes/YourTemplateName/templates/Layout/Page.ss), then add $Form (most of the time you will add it below $Content, but that's up to you ;-) )
    6) edit (if you want to) the default e-mailtemplates in userforms/templates/email
    7) _config.php is referring to mysite/_config.php

    Changing the default validation message can (if I'm not mistaken) be done in sapphire/javascript/lang/YourLanguageFile.js

    Hope this helps. Working trough the tutorials will help you understand the SilverStripe (templating)structure (http://doc.silverstripe.org/doku.php?id=tutorials - at least tutorial 1 and 2) . They're imo pretty clear compared to many other CMS's. It helped me alot in my own search for the $Form-tag and many other tags and functions.

  • Pahn
    Avatar
    Community Member
    7 Posts

    Re: Easy installing for UserForms Link to this post

    Thanks theAlien.. just like what I understood on template editing..

    But I think the problem I'm having is with the CMS interface. I wonder if there is something else I need to edit... or perhaps it is not yet compatible with the 2.3.0 version??

  • Pahn
    Avatar
    Community Member
    7 Posts

    Re: Easy installing for UserForms Link to this post

    Okay. Never mind.. I think I was so stupid to expect I will see the form tab immediately.

    The answer to my problem is to actually just add a new page that is a user defined form... Sorry, for my stupidity. I was just too excited I guess

    2307 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.