Silverstripe forms in silverstripe



notes for Silverstripe forms in silverstripe:

userforms

download

https://github.com/silverstripe/silverstripe-userforms

usage

rename to userforms run /dev/build?flush=1 in cms change page type to User Defined Form click form tab and add forms click options tab and add email recipient

create custom template

create UserDefinedForm.ss in templates/Layout

(ev. copy TestPage.ss inhalt) <div id="UserForm"> $Content $Form </div>

to get bannerpagetwo tabs in cms:

change userforms/code/model/UserDefinedForm.php

troubleshoot

declare theme in mysite/_config: SSViewer::set_theme('ThemeName'); when error, templates not found... manually delete all items in cache folder: silverstripe-cache/

src

https://github.com/silverstripe/silverstripe-userforms/issues/38

src

different version

http://addons.silverstripe.org/add-ons/silverstripe/userforms

install

http://blog.arvixe.com/how-to-use-userforms-in-silverstripe-cms/



Tags:
Published: December, 2014