From 3d40f97720640eec979af8e9ae0439dbca124b1d Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 14 Mar 2019 12:47:31 -0400 Subject: [PATCH] Update Service form Adding email --- Toolkit/Contacts/ServiceRequest.php | 24 ++++++++++++------------ config/server.ini | 10 +++++----- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Toolkit/Contacts/ServiceRequest.php b/Toolkit/Contacts/ServiceRequest.php index 57d02a3..8fb43a6 100755 --- a/Toolkit/Contacts/ServiceRequest.php +++ b/Toolkit/Contacts/ServiceRequest.php @@ -205,24 +205,24 @@ class Toolkit_Contacts_ServiceRequest 'name' => 'mobile_phone', 'display' => 'Mobile Phone' ); + $e[] = array( + 'type' => 'email', + 'req' => true, + 'name' => 'email', + 'display' => 'Email' + ); + $e[] = array( + 'type' => 'email', + 'req' => true, + 'name' => 'email_rmv', + 'display' => 'Verify Email' + ); $e[] = array( 'type' => 'tel', 'req' => false, 'name' => 'boats', 'display' => 'Boat(s)' ); - // $e[] = array( - // 'type' => 'email', - // 'req' => true, - // 'name' => 'email', - // 'display' => 'Email' - // ); - // $e[] = array( - // 'type' => 'email', - // 'req' => true, - // 'name' => 'email_rmv', - // 'display' => 'Verify Email' - // ); // if ($this->tableName == 'customer') { // $add1 = 'add1'; // $add2 = 'add2'; diff --git a/config/server.ini b/config/server.ini index a2eb7e6..80d4d45 100644 --- a/config/server.ini +++ b/config/server.ini @@ -163,7 +163,7 @@ resources.environment.css = "prod" ; development site configuration data inherits from production and ; overrides values as necessary [development : production] -site_url = "http://dev53.gaslightmedia.com/www.cedarvillemarine.com/" +site_url = "http://localhost:8080/www.cedarvillemarine.com/" mobile.link = mobile.hostname = Off @@ -171,8 +171,8 @@ mobile.hostname = Off google.search.key = "ABQIAAAANX0yQZ2OteLu_zqbwdfUuRTeX7yNUukyMrmY8FsCXcCA9axlYBTyhehgzuXOUfNI0E5UYHCLponA0A" google.maps.key = "ABQIAAAANX0yQZ2OteLu_zqbwdfUuRQsHGkczIjpqPY1-dTKNoaiGtfPJBTloI-YH7fzUV-bsMLwcy2Yjyti7A" -app.base_url = "http://dev53.gaslightmedia.com/app.gaslightmedia.com/" -app.base_secure_url = "https://dev53.gaslightmedia.com/app.gaslightmedia.com/" +app.base_url = "http://localhost:8080/app.gaslightmedia.com/" +app.base_secure_url = "https://localhost:8080/app.gaslightmedia.com/" error.reporting[] = E_ALL error.reporting[] = E_NOTICE @@ -180,12 +180,12 @@ error.display = 1 error.ident = "" error.conf.path = "/var/www/server/" -database.params.host = "devdb" +database.params.host = "ds5" development = On email.owner = "dev@gaslightmedia.com" -email.contact = "dev@gaslightmedia.com" +email.contact = "vagrant@localhost" email.addEventForm = "dev@gaslightmedia.com" email.enews = Off email.visitor_guide = Off -- 2.17.1