$nav['Banners'] = MEDIA_BASE_URL.'admin/banners.php';
}
if (defined('CONTACT_DB') && CONTACT_DB) {
- //$nav['Contacts'] = MEDIA_BASE_URL.'admin/Contact/';
+ $nav['Contacts'] = MEDIA_BASE_URL.'admin/Contact/';
}
if (defined('EVENT_DB') && EVENT_DB) {
$nav['Events']
; STREAM SEND API
; Turn on the streamsend module to use with our contact application
-contactdb.streamsend.application = Off
+contactdb.streamsend.application = On
; Login id for the streamsend account
-contactdb.streamsend.login = Off
+contactdb.streamsend.login = "J01jwSGuu5nK"
; Transaction key for the streamsend account
-contactdb.streamsend.key = Off
+contactdb.streamsend.key = "6Te2uojLrWNNezPR"
; Streamsend account name
-contactdb.streamsend.account_name = Off
+contactdb.streamsend.account_name = "Cedarville Marine"
; Streamsend audience number
-contactdb.streamsend.audience = Off
+contactdb.streamsend.audience = 1
; CONSTANT CONTACT API
; Constant Contact forms
--- /dev/null
+<?php
+if ($catid = filter_input(INPUT_GET, 'catid', FILTER_VALIDATE_INT)) {
+ $cf = new Toolkit_Contacts_ENewsSignup(
+ Toolkit_Database::getInstance(),
+ 'contact_form',
+ 'post',
+ BASE_URL . "index.php?catid=$catid"
+ );
+ $cf->configureForm();
+ $cf->useCaptcha(true);
+ echo $cf->toHtml();
+}