Adding Event Management V3 to site for Ticketing.
authorcscott <cscott@gaslightmedia.com>
Thu, 12 Jun 2014 12:29:43 +0000 (08:29 -0400)
committercscott <cscott@gaslightmedia.com>
Thu, 12 Jun 2014 12:29:43 +0000 (08:29 -0400)
Toolkit/Database.php
admin/EventManagement/EventManagement.php [new file with mode: 0644]
config/application.ini
config/applications/EventManagement.ini [new file with mode: 0644]
static/36.phtml [new file with mode: 0644]

index ef279b7..be78ada 100644 (file)
@@ -226,11 +226,13 @@ class Toolkit_Database
             $stmt->bindValue(':schema', 'boats', PDO::PARAM_STR);
             $stmt->execute();
         }
+/* Event management directly addresses the schema for all queries.
         if (defined('EVENT_MANAGEMENT') && EVENT_MANAGEMENT) {
             //    define event management search path
             $stmt->bindValue(':schema', 'reservations', PDO::PARAM_STR);
             $stmt->execute();
         }
+*/
 
         if (defined('SEASONS') && SEASONS) {
             //    define seasonator search path
diff --git a/admin/EventManagement/EventManagement.php b/admin/EventManagement/EventManagement.php
new file mode 100644 (file)
index 0000000..c655301
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Event Management System
+ * Admin Index Controller
+ *
+ * PHP version 5
+ *
+ * @category Admin
+ * @package  EventManagement_V3
+ * @author   Chuck Scott <cscott@gaslightmedia.com>
+ * @license  http://www.gaslightmedia.com Gaslightmedia
+ * @release  SVN: $Id: EventManagement.php,v 1.0 2011/01/25 19:31:47 cscott Exp $
+ * @link     <>
+ */
+
+require_once '../../setup.phtml';
+require_once $applicationConfig->commonApps->base_path.$applicationConfig->event_management->version.'/controllers/AdminController.php';
+
+?>
\ No newline at end of file
index 74a1a62..3aba5b6 100644 (file)
@@ -1,5 +1,9 @@
 ; Production server configuration data
 [production]
+
+; CommonApps configuration
+commonApps.base_path = "/var/www/server/CommonApps/"
+    
 ; Turn the banner application On or Off
 bannerdb.application = Off
 ; Turn the Shop application On or Off
@@ -56,7 +60,11 @@ eventdb.event_page = Off
 eventdb.home_events = Off
 
 ; Turn the events management application On or Off
-event_management.application = Off
+event_management.application = On
+event_management.version = "EventManagement_V3"
+
+; Turn the events management application On or Off
+event_management.application = On
 ; The page id in the toolbox that is the entry page for Event management - Generally set for each server
 event_management.home_page = Off
 event_management.members_only_page = Off
diff --git a/config/applications/EventManagement.ini b/config/applications/EventManagement.ini
new file mode 100644 (file)
index 0000000..639758a
--- /dev/null
@@ -0,0 +1,171 @@
+; EventManagement Application ini file
+
+[production]
+
+;   Event Management V3
+
+; The page id in the toolbox that is the entry page for Event management - Generally set for each server
+application_page                = 36                                ;Page ID for this application
+application_url                 = "order-tickets-online-6"          ;Optional URL segment for application
+members_only_page               = 37                                 ;Page ID for members only area
+members_only_url                = "members-only-area"               ;Optional URL segment for members only area
+option.member_db_integrated     = false                             ;Use Standard Member DB: true = Use standard Member DB, false = Use Separate Member DB
+option.events                   = false
+option.accommodations           = false                             ;Enable Reservations for members (not event housing)
+option.tickets                  = true                              ;Enable Ticket Sales
+    option.tickets_select_max   = 50                                ;   Maximum ticket quantity that can be selected at a time
+option.packages                 = false                             ;Enable Packages
+option.teams                    = false                             ;Enable Team housing features
+option.registrations            = false                             ;Enable Convention Registrations
+option.select_images            = false                             ;Display venue, event, and other images on the selection pages - other than maps and such
+option.cart_images              = false                             ;Display venue, event, and other images on the cart page
+option.cart_images              = false                             ;Display venue, event, and other images on the cart page
+option.checkout_images          = false                             ;Display venue, event, and other images on the checkout page
+option.cart_promotions          = true                              ;Permit promoting other performances on cart page
+option.users_access_all_members = true                              ;Member contact users can have access to all members data
+ticket_hold_time                = 60                                ;Time in minutes to hold tickets in a cart
+session_timeout                 = 60                                ;Time in minutes before session times out
+admin_session_timeout           = 1560                              ;Time in minutes before admin session times out
+
+;   Custom Front-End Appearance Settings
+default_front_interface         = "tickets"
+custom_css                      = false                             ;Should look for /css/EventManangement.css in customer site
+
+;   Ticket Selection Process Options
+option.ticket_selection.start_at_cart = true                        ;Start with shopping cart - Used with cart-sticky items.
+option.ticket_selection.show_tickets_on_start_page = true           ;Should we show the tickets on the selection start page or just venues/performances 
+option.ticket_selection.force_section  = false                      ;Always show section selection even if there's only one
+option.ticket_selection.include_options_in_ticket_list = true       ;Include ticket options in ticket selection list (date, quant, etc)
+option.ticket_selection.select_entrance_on_consignment = true       ;If selling a ticket on consignment and the user has to select a venu to purchase the 
+                                                                    ; ticket from, if entrances are listed for a venu, use entrances for selection rather than
+                                                                    ; just venue.
+
+;   Image Styles
+image_style.default             = "tbs1"
+image_style.large               = "ticketsLarge"
+image_style.medium              = "ticketsMedium"
+image_style.small               = "ticketsSmall"
+image_style.thumb               = "ticketsThumb"
+
+;   Terms used to refer to events/conventions
+term.event.norm                 = "event"
+term.event.cap                  = "Event"
+term.event.plur                 = "events"
+term.event.plur_cap             = "Events"
+
+;   Terms used to refer to a housing Member/Property/Hotel
+term.prop.norm                  = "location"
+term.prop.cap                   = "Location"
+term.prop.plur                  = "locations"
+term.prop.plur_cap              = "Locations"
+
+;   Terms used to refer to contacts
+term.contact.norm               = "contact"
+term.contact.cap                = "Contact"
+term.contact.plur               = "contacts"
+term.contact.plur_cap           = "Contacts"
+
+;   Terms used to refer to scan/claim locations
+term.claim_location.norm        = "claim location"
+term.claim_location.cap         = "Claim Location"
+term.claim_location.plur        = "claim locations"
+term.claim_location.plur_cap    = "Claim Locations"
+
+;   Terms used to refer to a housing unit
+term.unit.norm                  = "room"
+term.unit.cap                   = "Room"
+term.unit.plur                  = "rooms"
+term.unit.plur_cap              = "Rooms"
+
+;   Terms used to refer to an entrance 
+term.entrance.norm               = "dock"
+term.entrance.cap                = "Dock"
+term.entrance.plur               = "docks"
+term.entrance.plur_cap           = "Docks"
+
+;   Terms used to refer to a section 
+term.section.norm               = "section"
+term.section.cap                = "Section"
+term.section.plur               = "sections"
+term.section.plur_cap           = "Sections"
+
+;   Terms used to refer to a performance 
+term.performance.norm           = "category"
+term.performance.cap            = "Category"
+term.performance.plur           = "categories"
+term.performance.plur_cap       = "Categories"
+
+;   Terms used to refer to a ticket 
+term.ticket.norm                = "item"
+term.ticket.cap                 = "Item"
+term.ticket.plur                = "items"
+term.ticket.plur_cap            = "Items"
+
+;   Terms used to refer to an order 
+term.order.norm                 = "order"
+term.order.cap                  = "Order"
+term.order.plur                 = "orders"
+term.order.plur_cap             = "Orders"
+
+;   Terms used to refer to a voucher 
+term.voucher.norm               = "boarding pass"
+term.voucher.cap                = "Boarding Pass"
+term.voucher.plur               = "boarding passes"
+term.voucher.plur_cap           = "Boarding Passes"
+
+;   Terms used to refer to a promotion
+term.promo.norm               = "promo code"
+term.promo.cap                = "Promo Code"
+term.promo.plur               = "promo codes"
+term.promo.plur_cap           = "Promo Codes"
+
+;   Terms used for front-end shop navigation buttons
+;term.nav.show_selected          = "Show Cart"
+term.nav.show_selected          = "Cart"
+term.nav.select                 = "Select"
+;term.nav.select_more            = "Select More"
+term.nav.select_more            = "Shop"
+;term.nav.select_more_of_these   = "Select More of These"
+term.nav.select_more_of_these   = "More"
+term.nav.add_to_cart            = "Add to Cart"
+term.nav.checkout               = "Proceed to Checkout"
+term.nav.purchase               = "Click to Purchase Selected Items"
+term.nav.print_vouchers         = "Print Vouchers"
+term.nav.delete_from_cart       = "Delete these items from your cart"
+
+;   Prompts used for shop checkout fields
+text.cart.checkout.first_name   = "First Name"
+text.cart.checkout.last_name    = "Last Name"
+text.cart.checkout.address      = "Address"
+text.cart.checkout.city         = "City"
+text.cart.checkout.state        = "State/Province"
+text.cart.checkout.country      = "Country"
+text.cart.checkout.zip          = "ZIP/Postal Code"
+text.cart.checkout.phone        = "Phone"
+text.cart.checkout.email        = "E-Mail Address"
+text.cart.checkout.email_again  = "Enter E-Mail Address Again"
+text.cart.checkout.ok_to_send   = "OK to Send E-Mail?"
+text.cart.checkout.special_req  = ""                                ; If blank, don't use
+text.cart.checkout.activities_offers = "Please send information on activities and offers."
+
+;   Other text used in the front end
+text.cart.select_assignment_location    = "Please select the dock you are going to depart from."
+text.cart.select_likely_date            = "Please select your likely departure date."               ;For non-date-specific tickets
+
+; development server configuration data inherits from production and
+; overrides values as necessary
+[development : production]
+
+; chuck's server configuration data inherits from development
+; and overrides values as necessary
+[chuck : development]
+
+
+; john's server configuration data inherits from development
+; and overrides values as necessary
+[john : development]
+
+; steve's server configuration data inherits from development
+; and overrides values as necessary
+[steve : development]
+
diff --git a/static/36.phtml b/static/36.phtml
new file mode 100644 (file)
index 0000000..cd3e29d
--- /dev/null
@@ -0,0 +1,12 @@
+<?php\r
+\r
+// Check if secure page\r
+if (empty($_SERVER['HTTPS'])) {\r
+    $url = 'https://'.$GLOBALS['base_url']."/event-management-".$GLOBALS['catid'].'/';\r
+    header("Refresh:0; url=$url");\r
+    exit;\r
+}\r
+\r
+require_once $GLOBALS['applicationConfig']->commonApps->base_path.$GLOBALS['applicationConfig']->event_management->version.'/controllers/FrontController.php';\r
+$html = new EventManagementIndexController($GLOBALS['applicationConfig'], $GLOBALS['serverConfig'], $GLOBALS['siteConfig']);\r
+?>
\ No newline at end of file