Using the Performance Flag field within Theatre Manager you can create your own customized drop-down for genre. You then comment out on the TMtickets.html and add code to reference the Performance Flag.
The Event Genre will still apply in the TicketTrove application. |
To create your own customized Genre for online reporting, you perform the following steps:
The first step is renaming the existing Performance Flag to something that will make sense in the future. This is done in Company Preferences.
The Preferences window opens.
The Performance Field #1 may be used in other parts of Theatre Manager (such as course). If the fiedl contains something other than Perf Type, double check it is NOT being used elsewhere before changing any information. |
Yoiu can now add a unique list of Genres to your database. You do this in the code table. Click here for more information on Theatre Manager's Code Tables.
|
This is not to be mistake with the default Play Genre for the TicketTrove application. |
The Custom Genre (inserting) window opens.
Options may include items currently found in the Event Genre as well as those unique to the organization.
Repeat steps 3 through 5 above until all Genre's have been entered.
Once the list of Genres is created, you need to assign them to each Performance. This method allows for flexibility between individual Performances.
The event list opens.
Repeat the steps until all Performances have a Genre.
Each Custom Genre is assigned a unique sequence number when you add it to the database. This sequence number is needed to add the Custom Genres to the online sales web page.
This is not to be mistake with the default Play Genre for the TicketTrove application. The Sequence number will appear in the left column.
The customized code can be added to the TMtickets.html page. Look for the Genre field on the template; lines 76 to 80.
Add the comment values to comment out the present Genre Drop Down as follows:
Then copy and paste the following code either above or below the Genre code you comment out and you will have your new custom Genre lookup based on the value of the Performance Field #. The code can be found below. The PB_TYPE1_FC_SEQ is followed by a number. This number is the Custom Genre Sequence number from above. Note that you can have as many lookups based value of the Sequence number you wish. Simply add as many [ option value="PB_TYPE1_FC_SEQ='XXX'">Comedy ] as you need.
The result will be the same as shown for the Event code of the previous page.
Once the code above has been added to the TMtickets.html page the page should be saved in the WebPagesEN folder. Clear the Cache on the web listener and refresh the page in the browser. The updated changes should now be visible and available to select.