Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ZKMailChimpSubscribe extends Widget {
- static $title = "MailChimp Subscribe";
- static $cmsTitle = "MailChimp Subscribe";
- static $description = "Form per l'iscrizione a MailChimp";
- static $db = array(
- "Label" => "Varchar(64)",
- );
- public function getCMSFields() {
- return new FieldList(
- new TextField("Label", _t("title", "Titolo"), self::$title)
- );
- }
- public function ZkMcSubscribeForm() {
- $controller = new ZkMailChimpController();
- return $controller->ZkMcSubscribeForm();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement