Last active
September 12, 2018 04:18
-
-
Save alexsoin/c2eb4b48e2957a3cdb666cfe144e89d4 to your computer and use it in GitHub Desktop.
ajaxform на анаболиках
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {'!AjaxForm' | snippet : [ | |
| 'snippet' => 'FormIt', | |
| 'form' => '@FILE chunks/callback.tpl', | |
| 'hooks' => 'spam,email,FormItSaveForm', | |
| 'frontend_js' => 'assets/libs/ajaxform-sweetalert/js/sweetalert.js', | |
| 'frontend_css' => 'assets/libs/ajaxform-sweetalert/css/sweetalert.css', | |
| 'emailSubject' => 'Сообщение из формы обратной связи', | |
| 'emailTo' => 1 | resource : 'email', | |
| 'validationErrorMessage' => 'В форме содержатся ошибки!', | |
| 'successMessage' => 'Сообщение успешно отправлено' | |
| ]} | |
| {$_modx->regClientScript('/assets/libs/ajaxform-sweetalert/js/sweetalert.box.js')} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment