/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Precisa da extensão "SymQuery" - https://github.com/rowan-lewis/symquery # Colocar logo após a linha "require_once(TOOLKIT . '/class.event.php');" # no inÃcio do evento require_once(EXTENSIONS . '/symquery/lib/class.symwrite.php'); # ---- # # Esta parte vai dentro da função __trigger() if ($_POST['fields']['nome_do_campo'] == 'valor'){ try { $newsletter = SymWrite('section-que-recebera') ->set('campo-na-section', $fields['campo-no-form']) # Todos os campos da section, como na linha acima ->write(); } catch(Exception $e){} }
Comments
