<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://community.paperthin.com/adf-docs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gcronkright</id>
		<title>ADF Docs - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://community.paperthin.com/adf-docs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gcronkright"/>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php/Special:Contributions/Gcronkright"/>
		<updated>2026-05-25T01:17:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Upgrade_Guide_v2.7.1&amp;diff=8642</id>
		<title>Upgrade Guide v2.7.1</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Upgrade_Guide_v2.7.1&amp;diff=8642"/>
				<updated>2025-09-23T21:49:50Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[Upgrade|ADF Upgrade]]&lt;br /&gt;
&lt;br /&gt;
== Current Version ==&lt;br /&gt;
Follow the guide below if you are upgrading to ADF v2.7.1.&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT:''' ADF 2.7.x and above requires CommonSpot 11.0.0, 10.9.1 or 10.8.3 or greater.&lt;br /&gt;
&lt;br /&gt;
Before upgrading, please review the [http://community.paperthin.com/projects/ADF/docs/release-notes/Release-Notes-v2-7-1.cfm v2.7.1 Release Notes]&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from a version earlier than ADF v2.7.1, then please follow the guides for previous ADF versions:&lt;br /&gt;
* [[Upgrade_Guide_v2.7.0|2.7.0 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6.3|2.6.3 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6.2|2.6.2 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6.1|2.6.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6|2.6 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.5|2.5 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.4.1|2.4.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.4|2.4 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.3.1|2.3.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.3|2.3 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.2|2.2 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.1|2.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.0.1|2.0.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.0|2.0 Upgrade Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Upgrade|Previous ADF Upgrade Guides]]&lt;br /&gt;
&lt;br /&gt;
== Upgrade ==&lt;br /&gt;
Follow the steps below to upgrade the ADF directory:&lt;br /&gt;
# Download the ADF v2.7.1 from the [http://community.paperthin.com/projects/ADF/ Community site project page].&lt;br /&gt;
# On your server, rename the &amp;quot;/ADF/&amp;quot; directory to &amp;quot;/ADF-2.7.0/&amp;quot;.&lt;br /&gt;
# Create a new &amp;quot;/ADF/&amp;quot; directory.  Set up any necessary security or permissions for the new &amp;quot;/ADF/&amp;quot; directory.&lt;br /&gt;
# Export the download ADF zip folder into the &amp;quot;/ADF/&amp;quot; directory.&lt;br /&gt;
# Copy the contents of the &amp;quot;/ADF-2.7.0/apps/&amp;quot; directory into the &amp;quot;/ADF/apps/&amp;quot; directory.&lt;br /&gt;
# Reset the ADF through the web browser with the following URL parameter:&lt;br /&gt;
## ?resetADF=1&lt;br /&gt;
&lt;br /&gt;
Note: If you have security permissions on the &amp;quot;/ADF/&amp;quot; directory make sure to set them up because the folder was renamed and a new &amp;quot;/ADF/&amp;quot; folder was created.&lt;br /&gt;
&lt;br /&gt;
== Upgrade Cleanup ==&lt;br /&gt;
If you have any HF[#].cfm files from previously installed ADF HotFixes that are still in your ADF root directory (eg. &amp;quot;/ADF/hf4.cfm&amp;quot;) be sure to remove them from your upgraded &amp;quot;/ADF/&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
# Reset the ADF through the web browser with the following URL parameter:&lt;br /&gt;
## ?resetADF=1&lt;br /&gt;
&lt;br /&gt;
== Validate Upgrade ==&lt;br /&gt;
There are 2 methods to validate the ADF upgrade.&lt;br /&gt;
=== ADF Reset ===&lt;br /&gt;
# Reset the ADF through the web browser with the following URL parameter:&lt;br /&gt;
## ?resetADF=1&lt;br /&gt;
# The reset command will add text to the top line of the page.  If you see the following text with the date/time stamp:&lt;br /&gt;
## ADF v2.7.1 has been reset successfully!&lt;br /&gt;
# Upgrade was successful, and you are running the ADF v2.7.1.&lt;br /&gt;
&lt;br /&gt;
=== ADF Version Output ===&lt;br /&gt;
# In the browser, add the following URL parameter:&lt;br /&gt;
## ?ADFDumpVar=application.ADF.version&lt;br /&gt;
# This command will output the ADF version at the top of the page.  If you see the following text:&lt;br /&gt;
## 2.7.1&lt;br /&gt;
# Upgrade was successful, and you are running the ADF v2.7.1.&lt;br /&gt;
&lt;br /&gt;
== Post-Upgrade Steps ==&lt;br /&gt;
&lt;br /&gt;
=== Update Site Level Override Components ===&lt;br /&gt;
&lt;br /&gt;
* Any site level override ADF Lib components located in the &amp;quot;_cs_apps/lib/&amp;quot; folder will need to be renamed and the component &amp;quot;extends&amp;quot; updated to point to the latest version of the matching ADF Lib components.&lt;br /&gt;
&lt;br /&gt;
 Example: &amp;quot;'''_cs_apps/lib/scripts_1_1.cfc'''&amp;quot; needs to become &amp;quot;'''scripts_2_0.cfc'''&amp;quot; and the extends value in the component tag will need to point to &amp;quot;'''ADF.lib.scripts.scripts_2_0'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Also make sure all CFPROPERTY &amp;quot;injectedBean&amp;quot; type=&amp;quot;dependency&amp;quot; tags at the top of any other site level override ADF Lib components files are also updated to the latest versions of the ADF Lib components.&lt;br /&gt;
&lt;br /&gt;
 Example: &amp;lt;cfproperty name=&amp;quot;data&amp;quot; injectedBean=&amp;quot;'''data_1_2'''&amp;quot; type=&amp;quot;dependency&amp;quot;&amp;gt; should be updated to be &amp;lt;cfproperty name=&amp;quot;data&amp;quot; injectedBean=&amp;quot;'''data_2_0'''&amp;quot; type=&amp;quot;dependency&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Update Custom App Lib Component References ===&lt;br /&gt;
* Update any ADF Lib component references in your custom ADF Apps to the latest versions of the matching ADF 2.0 Lib components in the App's appBeanConfig.cfm file (in the root of the App directory).&lt;br /&gt;
&lt;br /&gt;
 Example: &amp;quot;addConstructorDependency(appBeanName, &amp;quot;'''scripts_1_2'''&amp;quot;, &amp;quot;scripts&amp;quot;); &amp;quot; needs to become &amp;quot;addConstructorDependency(appBeanName, &amp;quot;'''scripts_2_0'''&amp;quot;, &amp;quot;scripts&amp;quot;);&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== ADF Removed Resources ===&lt;br /&gt;
Options for resolving missing resources:&lt;br /&gt;
# Update the Registered Resource (or your site's code) to use the latest available version*&lt;br /&gt;
# Update the Registered Resource (or your site's code) to use the required version from a CDN*&lt;br /&gt;
# Download the required resource files and install them locally in your site and update the Register Resource or your site's code&lt;br /&gt;
# Copy in the missing resource files using the previous ADF version's5 thirdParty folder (be careful not to overwrite newer versions)&lt;br /&gt;
&lt;br /&gt;
 '''Note:''' It is recommended to use the latest available version of any third-party/external resources&lt;br /&gt;
&lt;br /&gt;
=== Register ADF Scripts as CommonSpot Resources ===&lt;br /&gt;
&lt;br /&gt;
* Register the ADF Script Resources with CommonSpot (for ADF 2.0 and above only!)&lt;br /&gt;
** Run the [[Register All Scripts|Register ALL Scripts]] tool.&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT:''' The ADF thirdParty scripts libraries will not function when using ADF.scripts_2_0 loadScripts calls unless they are registered as Resources in CommonSpot 10.x. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
To register ADF 2.0 ThirdParty Scripts as resources in CommonSpot 10 use these URL parameters.&lt;br /&gt;
&lt;br /&gt;
* To register ALL of the ADF 2.0 ThirdParty Scripts for the first time use: &lt;br /&gt;
** http://{commonspot-site}/?configADF=1  &lt;br /&gt;
''(Any existing ADF scripts/resources will be skipped.)''&lt;br /&gt;
&lt;br /&gt;
* To update/re-register all the existing resources ADF 2.0 ThirdParty Scripts use: &lt;br /&gt;
** http://{commonspot-site}/?reconfiglADF=1 &lt;br /&gt;
''(Any missing ADF scripts/resources will also be added.)''&lt;br /&gt;
&lt;br /&gt;
* In the case you want to only register (or re-register) a minimal set ThirdParty Scripts use these:&lt;br /&gt;
** http://{commonspot-site}/?configADF=1&amp;amp;scriptsPackage=min &lt;br /&gt;
** http://{commonspot-site}/?reconfigADF=1&amp;amp;scriptsPackage=min&lt;br /&gt;
     &lt;br /&gt;
 Remember: You must be logged in to the CommonSpot site for these parameters to run.&lt;br /&gt;
&lt;br /&gt;
For more information regarding the registration of ADF 2.0 ThirdParty Scripts as Resources in CommonSpot 10, please refer to the README information in the &amp;quot;/lib/scripts/scripts_2_0_READ_ME.txt&amp;quot; file.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Enable the CSRF Safe Mode for local ajaxProxy requests ===&lt;br /&gt;
&lt;br /&gt;
* Once your site is ready Enable [[ADF AjaxProxy CSRF Safe Mode]] (for ADF 2.5 and above only!)&lt;br /&gt;
&lt;br /&gt;
 '''WARNING''': Enabling the &amp;quot;ADF CSRF Safe Mode&amp;quot; without installing ADF 2.5 and above compatible Apps or without updating all custom ajaxProxy local requests will greatly limit functionality!&lt;br /&gt;
&lt;br /&gt;
== Related Guides ==&lt;br /&gt;
=== CommonSpot Registered Resources ===&lt;br /&gt;
* [[ADF Scripts and CommonSpot Registered Resources]] &lt;br /&gt;
* [[Register All Scripts|Register ALL ADF Scripts as CommonSpot Resources]] &lt;br /&gt;
&lt;br /&gt;
=== ADF 2.7 and above! ===&lt;br /&gt;
* [[ceRecordAPI Reference|ceRecordAPI Reference]] - ADF v2.7 and CommonSpot 11 and above&lt;br /&gt;
* [[Privileged Module Configuration|Privileged Module Configuration]] for ceRecordAPI&lt;br /&gt;
&lt;br /&gt;
[[Category: Upgrading the ADF]][[Category: How-to Guide]]&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Upgrade_Guide_v2.7.2&amp;diff=8641</id>
		<title>Upgrade Guide v2.7.2</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Upgrade_Guide_v2.7.2&amp;diff=8641"/>
				<updated>2025-09-23T21:46:22Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: Created page with &amp;quot;Back to ADF Upgrade  == Current Version == Follow the guide below if you are upgrading to ADF v2.7.2.   '''IMPORTANT:''' ADF 2.7.x and above requires CommonSpot 11...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[Upgrade|ADF Upgrade]]&lt;br /&gt;
&lt;br /&gt;
== Current Version ==&lt;br /&gt;
Follow the guide below if you are upgrading to ADF v2.7.2.&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT:''' ADF 2.7.x and above requires CommonSpot 11.0.0, 10.9.1 or 10.8.3 or greater.&lt;br /&gt;
&lt;br /&gt;
Before upgrading, please review the [http://community.paperthin.com/projects/ADF/docs/release-notes/Release-Notes-v2-7-2.cfm v2.7.2 Release Notes]&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from a version earlier than ADF v2.7.1, then please follow the guides for previous ADF versions:&lt;br /&gt;
* [[Upgrade_Guide_v2.7.1|2.7.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.7.0|2.7.0 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6.3|2.6.3 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6.2|2.6.2 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6.1|2.6.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.6|2.6 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.5|2.5 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.4.1|2.4.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.4|2.4 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.3.1|2.3.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.3|2.3 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.2|2.2 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.1|2.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.0.1|2.0.1 Upgrade Guide]]&lt;br /&gt;
* [[Upgrade_Guide_v2.0|2.0 Upgrade Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Upgrade|Previous ADF Upgrade Guides]]&lt;br /&gt;
&lt;br /&gt;
== Upgrade ==&lt;br /&gt;
Follow the steps below to upgrade the ADF directory:&lt;br /&gt;
# Download the ADF v2.7.2 from the [http://community.paperthin.com/projects/ADF/ Community site project page].&lt;br /&gt;
# On your server, rename the &amp;quot;/ADF/&amp;quot; directory to &amp;quot;/ADF-2.7.1/&amp;quot;.&lt;br /&gt;
# Create a new &amp;quot;/ADF/&amp;quot; directory.  Set up any necessary security or permissions for the new &amp;quot;/ADF/&amp;quot; directory.&lt;br /&gt;
# Export the download ADF zip folder into the &amp;quot;/ADF/&amp;quot; directory.&lt;br /&gt;
# Copy the contents of the &amp;quot;/ADF-2.7.1/apps/&amp;quot; directory into the &amp;quot;/ADF/apps/&amp;quot; directory.&lt;br /&gt;
# Reset the ADF through the web browser with the following URL parameter:&lt;br /&gt;
## ?resetADF=1&lt;br /&gt;
&lt;br /&gt;
Note: If you have security permissions on the &amp;quot;/ADF/&amp;quot; directory, make sure to set them up because the folder was renamed and a new &amp;quot;/ADF/&amp;quot; folder was created.&lt;br /&gt;
&lt;br /&gt;
== Upgrade Cleanup ==&lt;br /&gt;
If you have any HF[#].cfm files from previously installed ADF HotFixes that are still in your ADF root directory (eg. &amp;quot;/ADF/hf4.cfm&amp;quot;) be sure to remove them from your upgraded &amp;quot;/ADF/&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
# Reset the ADF through the web browser with the following URL parameter:&lt;br /&gt;
## ?resetADF=1&lt;br /&gt;
&lt;br /&gt;
== Validate Upgrade ==&lt;br /&gt;
There are 2 methods to validate the ADF upgrade.&lt;br /&gt;
=== ADF Reset ===&lt;br /&gt;
# Reset the ADF through the web browser with the following URL parameter:&lt;br /&gt;
## ?resetADF=1&lt;br /&gt;
# The reset command will add text to the top line of the page.  If you see the following text with the date/time stamp:&lt;br /&gt;
## ADF v2.7.2 has been reset successfully!&lt;br /&gt;
# Upgrade was successful, and you are running the ADF v2.7.2.&lt;br /&gt;
&lt;br /&gt;
=== ADF Version Output ===&lt;br /&gt;
# In the browser, add the following URL parameter:&lt;br /&gt;
## ?ADFDumpVar=application.ADF.version&lt;br /&gt;
# This command will output the ADF version at the top of the page.  If you see the following text:&lt;br /&gt;
## 2.7.2&lt;br /&gt;
# Upgrade was successful, and you are running the ADF v2.7.2.&lt;br /&gt;
&lt;br /&gt;
== Post-Upgrade Steps ==&lt;br /&gt;
&lt;br /&gt;
=== Update Site Level Override Components ===&lt;br /&gt;
&lt;br /&gt;
* Any site-level override ADF Lib components located in the &amp;quot;_cs_apps/lib/&amp;quot; folder will need to be renamed and the component &amp;quot;extends&amp;quot; updated to point to the latest version of the matching ADF Lib components.&lt;br /&gt;
&lt;br /&gt;
 Example: &amp;quot;'''_cs_apps/lib/scripts_1_1.cfc'''&amp;quot; needs to become &amp;quot;'''scripts_2_0.cfc'''&amp;quot; and the extends value in the component tag will need to point to &amp;quot;'''ADF.lib.scripts.scripts_2_0'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Also make sure all CFPROPERTY &amp;quot;injectedBean&amp;quot; type=&amp;quot;dependency&amp;quot; tags at the top of any other site level override ADF Lib components files are also updated to the latest versions of the ADF Lib components.&lt;br /&gt;
&lt;br /&gt;
 Example: &amp;lt;cfproperty name=&amp;quot;data&amp;quot; injectedBean=&amp;quot;'''data_2_0'''&amp;quot; type=&amp;quot;dependency&amp;quot;&amp;gt; (or belows) should be updated to be &amp;lt;cfproperty name=&amp;quot;data&amp;quot; injectedBean=&amp;quot;'''data_2_1'''&amp;quot; type=&amp;quot;dependency&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Update Custom App Lib Component References ===&lt;br /&gt;
* Update any ADF Lib component references in your custom ADF Apps to the latest versions of the matching ADF 2.0 Lib components in the App's appBeanConfig.cfm file (in the root of the App directory).&lt;br /&gt;
&lt;br /&gt;
 Example: &amp;quot;addConstructorDependency(appBeanName, &amp;quot;'''scripts_1_2'''&amp;quot;, &amp;quot;scripts&amp;quot;); &amp;quot; needs to become &amp;quot;addConstructorDependency(appBeanName, &amp;quot;'''scripts_2_0'''&amp;quot;, &amp;quot;scripts&amp;quot;);&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== ADF Removed Resources ===&lt;br /&gt;
Options for resolving missing resources:&lt;br /&gt;
# Update the Registered Resource (or your site's code) to use the latest available version*&lt;br /&gt;
# Update the Registered Resource (or your site's code) to use the required version from a CDN*&lt;br /&gt;
# Download the required resource files and install them locally in your site and update the Register Resource or your site's code&lt;br /&gt;
# Copy in the missing resource files using the previous ADF version's thirdParty folder (be careful not to overwrite newer versions)&lt;br /&gt;
&lt;br /&gt;
 '''Note:''' It is recommended to use the latest available version of any third-party/external resources&lt;br /&gt;
&lt;br /&gt;
=== Register ADF Scripts as CommonSpot Resources ===&lt;br /&gt;
&lt;br /&gt;
* Register the ADF Script Resources with CommonSpot (for ADF 2.0 and above only!)&lt;br /&gt;
** Run the [[Register All Scripts|Register ALL Scripts]] tool.&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT:''' The ADF thirdParty scripts libraries will not function when using ADF.scripts_2_0 loadScripts calls unless they are registered as Resources in CommonSpot 10.x. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
To register ADF 2.0 ThirdParty Scripts as resources in CommonSpot 10 use these URL parameters.&lt;br /&gt;
&lt;br /&gt;
* To register ALL of the ADF 2.0 ThirdParty Scripts for the first time use: &lt;br /&gt;
** http://{commonspot-site}/?configADF=1  &lt;br /&gt;
''(Any existing ADF scripts/resources will be skipped.)''&lt;br /&gt;
&lt;br /&gt;
* To update/re-register all the existing resources ADF 2.0 ThirdParty Scripts use: &lt;br /&gt;
** http://{commonspot-site}/?reconfiglADF=1 &lt;br /&gt;
''(Any missing ADF scripts/resources will also be added.)''&lt;br /&gt;
&lt;br /&gt;
* In the case you want to only register (or re-register) a minimal set ThirdParty Scripts use these:&lt;br /&gt;
** http://{commonspot-site}/?configADF=1&amp;amp;scriptsPackage=min &lt;br /&gt;
** http://{commonspot-site}/?reconfigADF=1&amp;amp;scriptsPackage=min&lt;br /&gt;
     &lt;br /&gt;
 Remember: You must be logged in to the CommonSpot site for these parameters to run.&lt;br /&gt;
&lt;br /&gt;
For more information regarding the registration of ADF 2.0 ThirdParty Scripts as Resources in CommonSpot 10, please refer to the README information in the &amp;quot;/lib/scripts/scripts_2_0_READ_ME.txt&amp;quot; file.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Enable the CSRF Safe Mode for local ajaxProxy requests ===&lt;br /&gt;
&lt;br /&gt;
* Once your site is ready Enable [[ADF AjaxProxy CSRF Safe Mode]] (for ADF 2.5 and above only!)&lt;br /&gt;
&lt;br /&gt;
 '''WARNING''': Enabling the &amp;quot;ADF CSRF Safe Mode&amp;quot; without installing ADF 2.5 and above compatible Apps or without updating all custom ajaxProxy local requests will greatly limit functionality!&lt;br /&gt;
&lt;br /&gt;
== Related Guides ==&lt;br /&gt;
=== CommonSpot Registered Resources ===&lt;br /&gt;
* [[ADF Scripts and CommonSpot Registered Resources]] &lt;br /&gt;
* [[Register All Scripts|Register ALL ADF Scripts as CommonSpot Resources]] &lt;br /&gt;
&lt;br /&gt;
=== ADF 2.7 and above! ===&lt;br /&gt;
* [[ceRecordAPI Reference|ceRecordAPI Reference]] - ADF v2.7 and CommonSpot 11 and above&lt;br /&gt;
* [[Privileged Module Configuration|Privileged Module Configuration]] for ceRecordAPI&lt;br /&gt;
&lt;br /&gt;
[[Category: Upgrading the ADF]][[Category: How-to Guide]]&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8640</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8640"/>
				<updated>2025-09-19T17:26:15Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* JS Calendar Events View (Wide Content Area) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
==== JS Calendar Events View (Wide Content Area) ==== &lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add the '''Calendar JS View Properties''' Local Custom Element.&lt;br /&gt;
# To configure the Calendar JS View Properties:&lt;br /&gt;
# From the ”Calendar JS View Properties” element indicator, select “New Data” to open the calendar view options dialog.&lt;br /&gt;
## To ensure the Event Management Tools are not shown, go to the “Admin Settings” tab, and make sure the “Enable Admin Tools Data” field is set to “No”&lt;br /&gt;
# On the '''Calendar Options''' tab, set the Calendar Views you would like the admin calendar to offer, the default view, and the Linked Calendar Page:&lt;br /&gt;
## For this Events management page, we will select the following:&lt;br /&gt;
### multMonthYear (Year) view&lt;br /&gt;
### dayGridMonth (30-day grid) view&lt;br /&gt;
### listMonth (30-day list) view&lt;br /&gt;
### timeGridWeak (7-day grid view with time-slots) view&lt;br /&gt;
### timeGridDay (1 day view with time-slots) view&lt;br /&gt;
## Set the Default View:&lt;br /&gt;
### dayGridMonth&lt;br /&gt;
##Select a Linked Calendar Page for the “Event Details Preview”:&lt;br /&gt;
### For this, if you can select a standard Calendar Page that has a details view enabled&lt;br /&gt;
### Or create a new calendar page with the standard Event Details view configured.&lt;br /&gt;
### Note: This Event details page can be a public calendar view details page or a private event details page in a protected subsite. If protected, the ### ### Calendar Admin user must have permission to read the private event details page.&lt;br /&gt;
## The other Calendar Option fields on this tab (Button Library, Footer Button Wrapper Classes, and Footer Button Classes)  can be updated to use your specific CSS layout framework&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may continue to be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Datasheet-Deprecated|Manage Events Datasheet]]&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Grid-Deprecated|Manage Events Grid]]&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Filtering_Parameters_.28Optional.29-Deprecated|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8639</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8639"/>
				<updated>2025-09-19T17:14:16Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Calendar Template Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
==== JS Calendar Events View (Wide Content Area) ==== &lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add the '''Calendar JS View Properties''' Local Custom Element.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may continue to be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Datasheet-Deprecated|Manage Events Datasheet]]&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Grid-Deprecated|Manage Events Grid]]&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Filtering_Parameters_.28Optional.29-Deprecated|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8638</id>
		<title>Setup Guide JS Calendar View Events Management Page</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8638"/>
				<updated>2025-09-19T17:13:28Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* To configure a Calendar Web Administration Events Management page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.2''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater.&lt;br /&gt;
&lt;br /&gt;
== WebAdmin JS Calendar Events Management Page ==&lt;br /&gt;
[[File:Js calendar view - admin2.png|600px|border|default|Calendar JS View WebAdmin Page]]&lt;br /&gt;
&lt;br /&gt;
===To configure a Calendar Web Administration Events Management page===&lt;br /&gt;
# Follow the [[PT_Calendar|install or upgrade guide]] for PT Calendar v5.0 (or higher).&lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element. &lt;br /&gt;
## Add it to either the “PT Calendar Elements” category or your site’s PT Calendar App elements category.&lt;br /&gt;
# On a new Web Admin page built from your Web Admin template, in your '''secured''' /webadmin/calendar/ subsite, go into “Work on this Page”.&lt;br /&gt;
# Add a Calendar JS View Properties Custom Element to the wide content area of the page.&lt;br /&gt;
# From the ”Calendar JS View Properties” element indicator, select “New Data” to open the calendar view options dialog.&lt;br /&gt;
## Go to the “Admin Settings” tab, and set the “Enable Admin Tools Data” field to “Yes” &lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Admin Settings Tab.png|600px|border|default|Calendar JS View Properties: Admin Settings Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the “Feed Security” Tab, move the Security Group and/or Users that will have access to view, add, edit, and/or delete the Web Admin Calendar events to the &amp;quot;Selected Items&amp;quot; columns.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Feed Security Tab.png|600px|border|default|Calendar JS View Properties: Feed Security Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the &amp;quot;Calendar Options&amp;quot; tab, set the Calendar Views you would like the admin calendar to offer, the default view, and the Linked Calendar Page:&lt;br /&gt;
### For this Events management page, we will select the following:&lt;br /&gt;
#### multMonthYear (Year view)&lt;br /&gt;
#### dayGridMonth (30-day grid view)&lt;br /&gt;
#### listMonth (30-day list view)&lt;br /&gt;
#### timeGridWeak (7-day grid view with time-slots view)&lt;br /&gt;
#### timeGridDay (1 day view with time-slots view)&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-JS Views.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - JS Views]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Set the Default View:&lt;br /&gt;
#### dayGridMonth&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Default View.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Default JS View]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Select a Linked Calendar Page for the “Event Details Preview”:&lt;br /&gt;
#### For this, if you can select a standard Calendar Page that has a details view enabled&lt;br /&gt;
#### Or create a new calendar page with the standard Event Details view config&lt;br /&gt;
#####Note: This Event details page can be a public calendar view details page or a private event details page in a protected subsite. If protected, the Calendar Admin user must have permission to read the private event details page.&lt;br /&gt;
#### The other Calendar Option fields on this tab (Button Library, Footer Button Wrapper Classes, and Footer Button Classes)  can be updated to use your specific CSS layout framework&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Details Link.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Details Page Link]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Calendar Filter Bar tab, enable the Event Filter Bar, set the Filter Bar Title, and the other available filter bar options:&lt;br /&gt;
### Set the “Enable Events Filters” to “Yes”&lt;br /&gt;
### Update the Filter Bar Title, if needed&lt;br /&gt;
### Set the “Enable Advanced Filters” to “Yes”&lt;br /&gt;
### Set the “Enable Organization Filter” to “Yes” if you have multiple Calendar organizations configured.&lt;br /&gt;
### Set the “Enable Category Filter” to “Yes” if you have multiple Calendar categories configured.&lt;br /&gt;
### Enable “Location Filter”, if needed &lt;br /&gt;
#### The Locations Filter pulls from the Locations entered for the active Events&lt;br /&gt;
### The other Filter Bar Option fields (Filter Button Wrapper Classes, and Footer Button Classes) can be updated to use your specific CSS layout framework&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Filter Bar Tab.png|600px|border|default|Calendar JS View Properties: Calendar Filter Bar Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Event Data Filters tab, leave all Organizations, Category option checkboxes as well as the “Approved Only” checkbox, unchecked.&lt;br /&gt;
### Leaving the “Approved Only” unchecked will allow the Pending and Denied events to render on the management calendar view.&lt;br /&gt;
### When creating a Calendar Events management page for specific Admin Group(s) and/or User(s), select the relevant Organization and/or Category(ies) to ensure that only their events are displayed in this view.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Event Data Filters Tab.png|600px|border|default|Calendar JS View Properties: Event Data Filters Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Navigation ===&lt;br /&gt;
* Use the navigation buttons (Previous, Next, Today) located at the top-left of the JS Calendar View to change the displayed date range view.&lt;br /&gt;
* Use the view selection buttons at the top-right of the JS Calendar view to switch between different calendar views (e.g., month, week, day).&lt;br /&gt;
* Use the events filter bar form to narrow down the events shown in the selected calendar view.&lt;br /&gt;
* Click the '''Reload Events''' button at the bottom-left of the JS Calendar view to refresh and load the latest calendar events.&lt;br /&gt;
**  Note: Useful for event management when multiple contributors are managing events simultaneously.&lt;br /&gt;
&lt;br /&gt;
=== Event Management ===&lt;br /&gt;
* When the '''Enable Admin Tools Data''' option is set to '''Yes''', status indicator icons will appear next to event titles and in tooltips, and the status icon key will display under the calendar view.:&lt;br /&gt;
** '''Approved Events''' – Green check mark icon&lt;br /&gt;
** '''Pending Events''' – Yellow flag icon&lt;br /&gt;
** '''Denied Events''' – Red warning triangle icon&lt;br /&gt;
*** Note: You can customize the labels for '''Approved''', '''Pending''', and '''Denied''' statuses in the '''PT Calendar Configuration''' settings.&lt;br /&gt;
* To add an event, click on an empty area within the JS Calendar view. This will open the '''Add Event''' dialog box.&lt;br /&gt;
** In the '''dayGridMonth''' (30-day grid) view, click on the empty space within a day square.&lt;br /&gt;
* To edit an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Edit Event'''.&lt;br /&gt;
** The '''Edit Event''' dialog box will open, pre-filled with the selected event's details.&lt;br /&gt;
* To copy an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Copy Event'''.&lt;br /&gt;
** The '''Copy Event''' dialog box will open.&lt;br /&gt;
** Choose your desired copy options and click the '''Copy''' button.&lt;br /&gt;
* To delete an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Delete Event'''.&lt;br /&gt;
** A '''Delete Event''' confirmation dialog box will appear.&lt;br /&gt;
* To view quick event details, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Quick Details View'''.&lt;br /&gt;
** A quick view dialog box will appear with event details.&lt;br /&gt;
* To open the full '''Event Details Page''', click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Open Details Page'''.&lt;br /&gt;
** The full event details will open in a new browser tab.&lt;br /&gt;
&amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View WebAdmin-Event Context Menu.png|300px|border|default|Calendar JS View: Event Management Context Menu]]&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8637</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8637"/>
				<updated>2025-09-19T17:09:28Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)-Deprecated===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8636</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8636"/>
				<updated>2025-09-19T17:08:31Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may continue to be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Datasheet-Deprecated|Manage Events Datasheet]]&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Grid-Deprecated|Manage Events Grid]]&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Filtering_Parameters_.28Optional.29-Deprecated|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8635</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8635"/>
				<updated>2025-09-19T17:08:11Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters-Optional-Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)-Deprecated===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8634</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8634"/>
				<updated>2025-09-19T17:07:50Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters-Optional-Deprecated===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8633</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8633"/>
				<updated>2025-09-19T17:07:07Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Grid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may continue to be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Datasheet-Deprecated|Manage Events Datasheet]]&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Grid-Deprecated|Manage Events Grid]]&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8632</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8632"/>
				<updated>2025-09-19T17:06:09Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Datasheet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may continue to be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Calendar_Events_Mangement_Pages-Deprecated#Manage_Events_Datasheet-Deprecated|Manage Events Datasheet]]&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8631</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8631"/>
				<updated>2025-09-19T17:05:42Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Grid - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8630</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8630"/>
				<updated>2025-09-19T17:05:29Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Datasheet - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet-Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8628</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8628"/>
				<updated>2025-09-19T17:04:26Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: Gcronkright moved page Deprecated Calendar Events Mangement Pages to Calendar Events Mangement Pages-Deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Deprecated_Calendar_Events_Mangement_Pages&amp;diff=8629</id>
		<title>Deprecated Calendar Events Mangement Pages</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Deprecated_Calendar_Events_Mangement_Pages&amp;diff=8629"/>
				<updated>2025-09-19T17:04:26Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: Gcronkright moved page Deprecated Calendar Events Mangement Pages to Calendar Events Mangement Pages-Deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Calendar Events Mangement Pages-Deprecated]]&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8627</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8627"/>
				<updated>2025-09-19T15:00:14Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Deprecated Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may continue to be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8626</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8626"/>
				<updated>2025-09-19T14:59:40Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[#Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8625</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8625"/>
				<updated>2025-09-19T14:58:24Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
#[[Deprecated_Events_Management_Pages|Deprecated Events Management Pages]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8624</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8624"/>
				<updated>2025-09-19T14:56:11Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Deprecated Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events. &lt;br /&gt;
&lt;br /&gt;
Although deprecated, the legacy pages remain functional and may be used if already installed or needed for special cases.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8623</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8623"/>
				<updated>2025-09-19T14:50:51Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Deprecated Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. Their functionality has been consolidated into the new JS Calendar View Events Management page, which provides a streamlined and unified interface for managing events.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8622</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8622"/>
				<updated>2025-09-19T14:47:42Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Deprecated Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
The legacy event management pages (Datasheet and Grid) for the Calendar App have been deprecated and are no longer required. All event Management functionality is now handled through the new Calendar JS View Event page, which provides a streamlined and fully supported interface.&lt;br /&gt;
&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8621</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8621"/>
				<updated>2025-09-19T14:43:00Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* JS Calendar View Events Management Page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8620</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8620"/>
				<updated>2025-09-19T14:42:35Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Deprecated Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8619</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8619"/>
				<updated>2025-09-19T14:42:19Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* JS Calendar View Events Management Page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated Events Management Pages ===&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8615</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8615"/>
				<updated>2025-09-17T16:30:03Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Calendar JS Calendar View Page Configuration - New for Calendar 5.0 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page Setup Guide]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8614</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8614"/>
				<updated>2025-09-17T16:27:56Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Configured Calendar Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configure Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8613</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8613"/>
				<updated>2025-09-17T16:25:53Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8612</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8612"/>
				<updated>2025-09-17T16:25:31Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters (Optional)|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8611</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8611"/>
				<updated>2025-09-17T16:25:00Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters (Optional)|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8610</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8610"/>
				<updated>2025-09-17T16:24:31Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#JS Calendar View Events Management Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
##[[#Manage Events Filtering Parameters (Optional)|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8609</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8609"/>
				<updated>2025-09-17T16:21:40Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8608</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8608"/>
				<updated>2025-09-17T16:21:02Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Grid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8607</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8607"/>
				<updated>2025-09-17T16:20:04Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Grid - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
=== JS Calendar View Events Management Page ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
==== Manage Events Datasheet ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Datasheet_-_Deprecated|Manage Events Datasheet - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Grid_-_Deprecated|Manage Events Grid - Deprecated]]&lt;br /&gt;
==== Manage Events Grid ====&lt;br /&gt;
* [[Deprecated_Calendar_Events_Mangement_Pages#Manage_Events_Filtering_Parameters_.28Optional.29|Manage Events Filtering Parameters (Optional)]]&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8606</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8606"/>
				<updated>2025-09-17T16:13:37Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8605</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8605"/>
				<updated>2025-09-17T16:13:13Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Datasheet - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8604</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8604"/>
				<updated>2025-09-17T16:12:17Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Calendar Events Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Configured Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8603</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8603"/>
				<updated>2025-09-17T16:12:00Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Calendar Events - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Calendar Events Management Pages==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8602</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8602"/>
				<updated>2025-09-17T16:11:28Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Filtering Parameters (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Calendar Events - Deprecated==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Filtering Parameters (Optional)===&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8601</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8601"/>
				<updated>2025-09-17T16:11:07Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Grid - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Calendar Events - Deprecated==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8600</id>
		<title>Calendar Events Mangement Pages-Deprecated</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Calendar_Events_Mangement_Pages-Deprecated&amp;diff=8600"/>
				<updated>2025-09-17T16:10:24Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: Created page with &amp;quot;==Calendar Events - Deprecated==  ===Manage Events Datasheet - Deprecated ===  The '''Calendar Event Details''' element is a global custom element. Managing data for global cu...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Calendar Events - Deprecated==&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8599</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8599"/>
				<updated>2025-09-17T16:08:23Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[Deprecated Calendar Events Mangement_Pages|Calendar Events Mangement Pages (Deprecated)]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8598</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8598"/>
				<updated>2025-09-17T16:05:58Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Grid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8597</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8597"/>
				<updated>2025-09-17T16:05:48Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Manage Events Datasheet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet - Deprecated ===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8596</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8596"/>
				<updated>2025-09-17T16:05:29Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8595</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8595"/>
				<updated>2025-09-17T16:05:07Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Management Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these 7 Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|JS Calendar View Events Management Page]]&lt;br /&gt;
##[[#Manage Events Datasheet|Manage Events Datasheet]] - Deprecated&lt;br /&gt;
##[[#Manage Events Grid|Manage Events Grid]] - Deprecated&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8594</id>
		<title>PT Calendar Version 5.0 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Calendar_Version_5.0_Install&amp;diff=8594"/>
				<updated>2025-09-17T16:01:17Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Calendar JS Calendar View Page Configuration - New for Calendar 5.0 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.1''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 '''WARNING''': If running Adobe ColdFusion 2018 update 13/2021 update 3 or below. You must obtain the QofQ patch from Adobe support (cfsup@adobe.com) or install an update release greater than ACF 2018 update 13 or ACF 2021 update 3.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or the SVN Repository. &lt;br /&gt;
&lt;br /&gt;
Extract the zip files into the following directory:&lt;br /&gt;
'''/ADF/apps/pt_calendar/'''&lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Calendar Application is built within the ADF. The ADF 2.7.2 or greater must be installed on the site to run the Calendar 5.0 Application; follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
* Make sure the ADF is set up and running on the site. If the ADF is not set up, follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&lt;br /&gt;
 loadApp(&amp;quot;ptCalendar&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Styles ==&lt;br /&gt;
There are several out-of-the-box style options for the Calendar application. Most of the styles are defined in the following style sheets located in the /style directory within the ADF Calendar App directory:&lt;br /&gt;
&lt;br /&gt;
Main Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
&lt;br /&gt;
Web Administration Calendar Styles:&lt;br /&gt;
* '''/ADF/apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
You have two options: you can either load them into your Base Plus One (recommended) or you can load them into the Calendar Templates you create.&lt;br /&gt;
&lt;br /&gt;
 '''Note''': The classes and styles defined for the Calendar app are targeted tightly for the layout generated by the Calendar application and should not interfere with your site styles. However, it is a good idea to give these style sheets higher precedence in your style definitions.&lt;br /&gt;
&lt;br /&gt;
=== Style Customization ===&lt;br /&gt;
If you need to customize or modify the Calendar application stylesheet, add a calendar.css and/or a calendaradmin.css in a site-level '''/_cs_apps/pt_calendar/style''' directory. If the app detects these override files, it will load the style definition after the app-level stylesheets, so the app-specific files can be overridden.&lt;br /&gt;
&lt;br /&gt;
Custom Calendar Style Override File Locations:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendaradmin.css'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
If you plan to customize or modify the Calendar application stylesheet, it is recommended that you copy the CSS file from the App's style folder (above) to a site-level directory. Once the file has been moved, you can register the stylesheet at the new location. &lt;br /&gt;
&lt;br /&gt;
Here is the recommended site-level location:&lt;br /&gt;
* '''/_cs_apps/pt_calendar/style/calendar.css'''&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Calendar App has several Custom Components defined within CommonSpot. These components are available in the Calendar's &amp;quot;exported-objects&amp;quot; folder located at the root of the ptCalendar application directory (e.g. /ADF/apps/pt_calendar/exported-objects/)&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. &lt;br /&gt;
&lt;br /&gt;
Create a &amp;quot;PT Calendar App Elements&amp;quot; category and import all portions of each component in the order listed.&lt;br /&gt;
&lt;br /&gt;
'''Import Custom Elements:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Global Custom Elements&lt;br /&gt;
#[[ptCalendar Configuration]] (ptCalendar-Configuration-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Page Mapping]] (Calendar-Page-Mapping-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Organizations]] (Calendar-Organizations-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Recurrence]] (Calendar-Event-Recurrence-Custom-Element.zip)*&lt;br /&gt;
## *If importing this CE in to CS 10.9.x or below, use the .zip archive in the 'pt_calendar/exported-objects/cs10.9 and below/' directory.&lt;br /&gt;
#[[Calendar Event Details]] (Calendar-Event-Details-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event DateTime]] (Calendar-Event-DateTime-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Event Categories]] (Calendar-Event-Categories-Custom-Element.zip)&lt;br /&gt;
Local Custom Elements&lt;br /&gt;
#[[Calendar Display Properties]] (Calendar-Display-Properties-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Month Grid Single]] (/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Upcoming Events Single]] (/widgets/Calendar-Widget-Properties-Upcoming-Events-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Date Range Single]] (/widgets/Calendar-Widget-Properties-Date-Range-Single-Custom-Element.zip)&lt;br /&gt;
#[[Calendar Widget Properties Events RSS Feed Single]] (/widgets/Calendar-Widget-Properties-Events-RSS-Feed-Single-Custom-Element.zip)&lt;br /&gt;
Custom Metadata Form Elements&lt;br /&gt;
#[[PT Calendar Event Details Viewer Metadata Form]] (/PT-Calendar-Event-Details-Viewer-Metadata-Form.zip)&lt;br /&gt;
&lt;br /&gt;
  Note: If using the '''Multiple View Page''' Mode, import the widget files with 'Multi' in the name.&lt;br /&gt;
&lt;br /&gt;
== Verify Imports ==&lt;br /&gt;
&lt;br /&gt;
The imported components' render handlers and custom field types must be verified.  During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will require being unlocked and a change in the path from the site name to 'ADF'.  Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to &amp;quot;/ADF/extensions/&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the custom elements that are imported contain custom field types that are already in the site, the naming convention for the custom field type will be unique.  To resolve this, unlock the field types and elements, and reassign the element field type to the pre-existing field type.&lt;br /&gt;
&lt;br /&gt;
Example: The Calendar Event Categories custom element contains the General Chooser field type. If the General Chooser field type is already installed on the site, then the import process will attempt to import another General Chooser but with a new name, such as &amp;quot;General Chooser_import_1250003208472.&amp;quot; To resolve this issue, open the custom element and assign the field type (General Chooser_import_1250003208472) to the field type with the simple name General Chooser. After reassigning the field type, delete the new imported field from the list of custom field types.&lt;br /&gt;
&lt;br /&gt;
NOTE: Each custom field type that needs to be updated as described above has already been configured for use in the Calendar app. Please review the configuration in the &amp;quot;Other Properties&amp;quot; tab and reset those settings when switching to the proper field type.&lt;br /&gt;
&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Calendar App uses a custom element, &amp;quot;ptCalendar Configuration&amp;quot;, to store site-specific configurations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Most of these configuration fields will not need to be modified from their default values. Although there are a few fields for which the values will need to be customized for your specific install of the application. These fields are be listed below.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of most of the available configuration fields:&lt;br /&gt;
&lt;br /&gt;
===General Tab===&lt;br /&gt;
# '''New Event URL''' - Site relative URL for a public-facing form page for submitting a new Event request. (Example: /new-event-form.cfm)&lt;br /&gt;
# '''CS USERS DSN''' - Where the Calendar will get the Users info for event category notifications. (Default: commonspot-users)&lt;br /&gt;
# '''Send New Event Emails to Category Notification Users''' - a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Notification From Address''' - The 'From' email address of the notification email sent to event category users (Default: events@ptcalendar.com)&lt;br /&gt;
# '''Event Notification Email Subject''' - The subject of the notification email sent to event category users (Default: Event Submission Notification)&lt;br /&gt;
# '''Event Notification Email Message''' - The standard message for the notification email sent to event category users (Default: A calendar event was submitted and the following Event Categories were selected: [EventCats])&lt;br /&gt;
# '''Send Event Approved Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Approved Label''' - (Default: Approved)&lt;br /&gt;
# '''Event Approved Email Message''' - (Default: This event has been approved.)&lt;br /&gt;
# '''Send Event Denied Email to Contact''' -  a checkbox (Default: unchecked)&lt;br /&gt;
# '''Event Denied Label''' - (Default: Denied)&lt;br /&gt;
# '''Event Denied Email Message''' - (Default: This event has been denied.)&lt;br /&gt;
&lt;br /&gt;
===View Page===&lt;br /&gt;
# '''calendarViewPageMode''' - radio buttons (Default: Single)&lt;br /&gt;
# '''calenderViews''' - multiple checkboxes (Default: empty)&lt;br /&gt;
# '''defaultCalendarView''' - selection list (Default: empty)&lt;br /&gt;
# '''calendarViewParamName''' - text field (Default: calview)&lt;br /&gt;
&lt;br /&gt;
===Rendering and Display Tab===&lt;br /&gt;
# '''App UI Theme''' - Deprecated field. (Please use CommonSpot 10.x resource loader and the &amp;quot;jQueryUIDefaultTheme&amp;quot; to load the specific UI theme for your app.)&lt;br /&gt;
# '''Use Event Details Tooltip''' - The Calendar app utilizes [http://craigsworks.com/projects/qtip/ jQuery qTip] for event detail tooltips. (Default: Yes)&lt;br /&gt;
# '''Event Details ToolTip Theme''' -  If using event detail tooltips, select one of the 6 pre-packed themes. (Default: Cream)&lt;br /&gt;
# '''Calendar Small Grid Cell Width''' - (Default: 30)&lt;br /&gt;
# '''Calendar Small Grid Cell Height''' - (Default: 24)&lt;br /&gt;
# '''Calendar Large Grid Cell Width ''' - (Default: 130)&lt;br /&gt;
# '''Calendar Large Grid Cell Height''' - (Default: 150)&lt;br /&gt;
# '''ColdFusion Date Mask''' - ColdFusion Date Mask used for the display of dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default: M/D/YYYY)&lt;br /&gt;
# '''ColdFusion Time Mask''' - ColdFusion Time Mask used for the display of times. [https://cfdocs.org/timeformat TimeFormat on cfdocs.com] (Default: h:mm tt)&lt;br /&gt;
# '''ColdFusion Long Date Mask''' - ColdFusion Date Mask used for the display of long or full dates. [https://cfdocs.org/dateformat DateFormat on cfdocs.com] (Default:  yyyy)&lt;br /&gt;
# '''Broken Recurrence Event Suffix''' - Text that is appended to the end of the title of a broken recurrence event that was created from a recurrence pattern. (Default: ''blank'')&lt;br /&gt;
# '''Copy Event Suffix''' - Text that is appended to the end of the title of a copied event.  (Default: - Copy)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- # '''App UI Theme''' - The Calendar app utilizes [http://jqueryui.com/themeroller/ jQueryUI Themes] for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder. (Default: no default selected) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Performance and Debugging Tab===&lt;br /&gt;
# '''Calendar Cache Type''' - selection list:(memory, file, database) (Default: no default selected)&lt;br /&gt;
# '''Enable Event Cache''' - checkbox (Default: unchecked)&lt;br /&gt;
# '''Enable Event Cache for Events Management''' - checkbox (Default: No)&lt;br /&gt;
# '''Calendar Cache DSN''' - (Default: ''the name of the current site's content datasource')&lt;br /&gt;
# '''Max Number of Years for Future Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Max Number of Years for Past Events Cache''' - (Default: 0)&lt;br /&gt;
# '''Enable Verbose Output''' - (Default: unchecked) &lt;br /&gt;
&lt;br /&gt;
Note: The app configuration fields not listed here should NOT need to be modified from their default values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 IMPORTANT: Follow the steps below to configure the '''App UI Theme Field''' for your site.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Configure the App UI Theme Field===&lt;br /&gt;
#Go to your '''CommonSpot Site Administration'''&lt;br /&gt;
#From the menu on the left open '''Element &amp;amp; Forms'''&lt;br /&gt;
#Click '''Elements'''&lt;br /&gt;
#A '''Manage Elements''' window will open&lt;br /&gt;
#From the '''Category''' drop down filter the list elements by selecting the '''Calendar App Elements'''&lt;br /&gt;
#Click the '''Filter''' button&lt;br /&gt;
#Scroll to the bottom of the '''Calendar App Elements''' list&lt;br /&gt;
#Find the '''ptCalendar Configuration''' global custom element&lt;br /&gt;
#Click the '''&amp;quot;Lock&amp;quot;''' icon to unlock the ptCalendar Configuration Element&lt;br /&gt;
#Click the '''&amp;quot;Pencil&amp;quot;''' icon and select field definitions to open the configuration fields&lt;br /&gt;
#A 'Custom Element Field Definitions' window will open&lt;br /&gt;
#Go to the 'Rendering and Display' tab&lt;br /&gt;
#Edit the 'App UI Theme (ui_theme)' field that uses the '''UI Theme Selector''' CFT&lt;br /&gt;
#Click the 'Other Properties' Tab&lt;br /&gt;
#From the &amp;quot;Select an installed jQuery UI Version:&amp;quot; drop-down list, select the latest jQuery UI library that is available in your install of the ADF. (ie. '''jquery-ui-1.8''')&lt;br /&gt;
#Click '''Save'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to have a Web Admin subsite that contains a Calendar subsite that will contain the Management pages for the calendar administrators. This allows security to be set up for the subsite to allow only administrators access to the webadmin subsite.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''calendar'' subsite to the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
The Calendar Web Admin subsite will be used to house the Calendar Management Pages.&lt;br /&gt;
# If it does not exist, create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''calendar''.&lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/calendar/'' subsite Content Security to give permissions to the group of administrators who will manage the Calendar.&lt;br /&gt;
&lt;br /&gt;
=== Calendar ===&lt;br /&gt;
The Calendar subsite will be used to house the Calendar Display Pages.&lt;br /&gt;
# Create a new subsite under the site root called ''calendar'' for an &amp;quot;all events&amp;quot; version of the calendar.&lt;br /&gt;
# Create additional subsites under the ''calendar'' subsite for any organizations that will have filtered versions of the calendar.&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
===Web Admin Template - ''Optional''===&lt;br /&gt;
&lt;br /&gt;
The Web Admin template will be used to render web admin management pages.&lt;br /&gt;
&lt;br /&gt;
# If it does not exist, create a CommonSpot page called 'Web Admin' from the Base Plus One template. (The subsite for this is not critical, but it may be a good idea to place this template in the webadmin subsite.)&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template ===&lt;br /&gt;
&lt;br /&gt;
This Calendar template will be used to create the Calendar display page(s) that render the different calendar views. &lt;br /&gt;
&lt;br /&gt;
# Create a CommonSpot page called ''''Calendar'''' from the Base Plus One template. (The subsite for this is not critical but it may be a good idea to create this template in the  'calendar' subsite.) &lt;br /&gt;
#* For the best results, it is recommended to use a 'Two Column' layout. This layout will need one NARROW column with a container element for calendar modules and widgets, and one WIDE column with a container element for the main calendar display views.&lt;br /&gt;
# Submit and activate the page.&lt;br /&gt;
# Save the page as a template.&lt;br /&gt;
# Submit the template for public use.&lt;br /&gt;
&lt;br /&gt;
 This calendar template will be set up using the '''SINGLE''' calendar view page mode. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- For the steps to&lt;br /&gt;
 setup the Calendar using the '''MULTIPLE''' calendar view page mode see below. &lt;br /&gt;
 [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Template Setup ===&lt;br /&gt;
&lt;br /&gt;
==== Calendar Display Views (Wide Content Area) ==== &lt;br /&gt;
&lt;br /&gt;
# In the '''WIDE''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
# From the Custom Script element interface, click the ''Edit'' icon.&lt;br /&gt;
# Enter the following text into the Explicit Module path: &lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/calendar_view_links.cfm''&lt;br /&gt;
# Next in the '''WIDE''' content container, add the '''Calendar Display Properties''' Local Custom Element.&lt;br /&gt;
# To configure the '''Calendar Display Properties''':&lt;br /&gt;
## Click '''Data''' in the element interface.&lt;br /&gt;
## From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
## Under the 'Calendar Display Properties' tab, select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to the filter the events you want to display.&lt;br /&gt;
##* For example, for a Calendar that displays 'ALL APPROVED EVENTS' you would not select any '''Organizations''' or '''Categories''', but you would check the '''Approved''' checkbox.&lt;br /&gt;
# Submit the Display properties form.&lt;br /&gt;
&lt;br /&gt;
==== Calendar Modules and Widgets (Narrow Content Area) - ''Optional Items'' ====&lt;br /&gt;
&amp;lt;!-- Add these 5 modules and widgets to your template: &lt;br /&gt;
#[[#Small Calendar Month Grid Widget|Small Calendar Month Grid Widget]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Month Jump Drop Down Nav|Month Jump Drop Down Nav]]&lt;br /&gt;
#[[#Event Request Form Button|Event Request Form Button]]&lt;br /&gt;
#[[#Event Category Checkbox Filters|Event Category Checkbox Filters]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# '''Small Calendar Month Grid Widget''' - Optional&lt;br /&gt;
## In the '''NARROW''' content container element on the template page, add the '''Calendar Widget Properties-​​Month Grid-​​Single''' Local Custom Element. &lt;br /&gt;
&amp;lt;!-- ##* ''/ADF/apps/pt_calendar/exported-objects/widgets/Calendar-Widget-Properties-Month-Grid-Single-Custom-Element.zip'' --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ##* When using the multiple calendar view page mode... use the '''-Multi''' Local Custom Element (see --&amp;gt;&lt;br /&gt;
## To configure this widget:&lt;br /&gt;
### Click '''Data''' in the element interface.&lt;br /&gt;
### From the 'Enter Custom Element Data' lightbox window that opens &lt;br /&gt;
### Under the 'Calendar Display Properties' tab, notice the '''Linked Calendar Page''' field. Leave this blank for now. When we create our Calendar View page we will select this page.&lt;br /&gt;
### Next select the '''Organizations''','''Categories''' and/or check/uncheck the '''Approved''' checkbox to filter the events you want to display.&lt;br /&gt;
###* It is best to select the same options as you selected for the Calendar Display Properties above in the WIDE content column. So, following that example, only check the '''Approved''' checkbox.&lt;br /&gt;
## Submit the Widget Display properties form.&lt;br /&gt;
# '''Event Request Form Button''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/calendar_event_request_form_lb_btn.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Month Jump Drop Down Nav''' - Optional&lt;br /&gt;
## Next in the '''NARROW''' content container element on the template page, add a Custom Script element.&lt;br /&gt;
## Enter the following text into the Explicit Module path: &lt;br /&gt;
##* ''/ADF/apps/pt_calendar/customcf/month_nav_drop_down.cfm''&lt;br /&gt;
## Submit the Custom Script Element form.&lt;br /&gt;
# '''Event Category Checkbox Filters'''  - Optional&lt;br /&gt;
## Next in the '''NARROW''' column container, add the '''Calendar Event Categories''' Global Custom Element.&lt;br /&gt;
## Click '''Render Mode''' in the element interface.&lt;br /&gt;
## Select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab.&lt;br /&gt;
### Select the '''Filter''' tab. &lt;br /&gt;
### Select Filter Type to '''Show subset of records'''.&lt;br /&gt;
### Select the '''Field''' drop-down as the '''Categories.Active''' field. &lt;br /&gt;
### Select the operator as '''Equals'''.&lt;br /&gt;
### For the third value drop-down select '''1'''. &lt;br /&gt;
&amp;lt;!-- ###* For instructions to filter the listed categories by specific organizations [[ADD LINK HERE]] --&amp;gt;&lt;br /&gt;
### For the '''Sort Order''' drop-down select the '''Category Name''' field and choose '''Ascending'''&lt;br /&gt;
### Click '''OK''' on the render mode window.&lt;br /&gt;
## Now click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and select the Render Handler:&lt;br /&gt;
##* '''Calendar Category CheckBox List'''  &lt;br /&gt;
## Click '''OK''' on the custom render handlers window.&lt;br /&gt;
# Publish the changes to the template page.&lt;br /&gt;
&lt;br /&gt;
== Management Pages ==&lt;br /&gt;
Create these 7 Admin pages: &lt;br /&gt;
#[[#CCAPI Configuration|CCAPI Configuration]]&lt;br /&gt;
#[[#Manage App Configuration Page|Manage App Configuration Page]]&lt;br /&gt;
#[[#Manage Calendar Organizations Datasheet|Manage Calendar Organizations Datasheet]]&lt;br /&gt;
#[[#Manage Event Categories Datasheet|Manage Event Categories Datasheet]]&lt;br /&gt;
#[[#Manage Events Datasheet|Manage Events Datasheet]]&lt;br /&gt;
#[[#Manage Events Grid|Manage Events Grid]]&lt;br /&gt;
#[[#Calendar Events Cache Dashboard|Calendar Events Cache Dashboard]]&lt;br /&gt;
#[[#Manage Page Mappings Datasheet - Optional|Manage Page Mappings Datasheet]] - Optional&lt;br /&gt;
=== CCAPI Configuration ===&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: The CCAPI configuration is no longer required for CommonSpot 11 and ADF 2.7 or greater. Please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
With the release of CommonSpot 11.0 and ADF 2.7, this app now uses the ADF's ceRecordAPI wrapper functions for the CommonSpot Custom Data API to add or update Custom Elements data. &lt;br /&gt;
&lt;br /&gt;
 Note: If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, please continue with the following CCAPI Configuration steps:&lt;br /&gt;
&lt;br /&gt;
The Calendar Application uses the [[CCAPI_Library_Component|ADF CCAPI]] to populate and modify the calendar app element records. The CCAPI needs to be configured to handle this calendar functionality.&lt;br /&gt;
&lt;br /&gt;
 ''The steps below use the standard [[CCAPI Config|CCAPI Config]] setup. If this is your first App installation &lt;br /&gt;
 it may be good to go ahead and follow these steps for the CCAPI setup. &lt;br /&gt;
 Advanced developers with CCAPI experience may want to consider using the new [[CCAPI Conduit Page Pool|CCAPI Conduit Page Pool]] &lt;br /&gt;
 configuration for populating the Global Custom Elements used in this application.''&lt;br /&gt;
&lt;br /&gt;
First, follow the steps to set up the [[CCAPI Config|CCAPI Config]] file for the site.  Once that configuration is complete, follow the steps below to set up the CCAPI config for the Calendar application.  Make sure to update the ''wsVars'' section with the correct URLs and username/password.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called 'ccapiCalendar'. Recommend creating this page in the ''/webadmin/calendar/'' subsite. &lt;br /&gt;
# Add each of the following Calendar elements to the page:&lt;br /&gt;
##[[Calendar Event Details]]&lt;br /&gt;
##[[Calendar Event DateTime]] &lt;br /&gt;
##[[Calendar Event Recurrence]] &lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
##[[Calendar Event Categories]] &lt;br /&gt;
##[[Calendar Organizations]] &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# For each element that was added, click on the element indicator and go to 'more...'.  Select 'Name' from the menu.&lt;br /&gt;
# In the Element Name field, enter the appropriate name for each element:&lt;br /&gt;
## ccapiCalendarEventDetailsElement&lt;br /&gt;
## ccapiCalendarEventDateTimeElement&lt;br /&gt;
## ccapiCalendarEventRecurrenceElement&lt;br /&gt;
&amp;lt;!-- Not Needed at this time &lt;br /&gt;
## ccapiCalendarEventCategoriesElement&lt;br /&gt;
## ccapiCalendarOrganizationsElement&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
# Publish this page and view it in read mode.&lt;br /&gt;
# Edit the 'ccapi.cfm' file for the site and add the following XML blocks into the &amp;lt;elements&amp;gt; section:&lt;br /&gt;
## an example 'ccapi.cfm' file is in the '''pt_calendar &amp;gt; site-files &amp;gt; _cs_apps &amp;gt; config''' folder     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDetails&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDetailsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDetails&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventDateTime&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventDateTimeElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventDateTime&amp;gt;&lt;br /&gt;
&amp;lt;CalendarEventRecurrence&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventRecurrenceElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventRecurrence&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not Needed at this time --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;CalendarEventCategories&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;##&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarEventCategoriesElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarEventCategories&amp;gt;&lt;br /&gt;
&amp;lt;CalendarOrganizations&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;####&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;#&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ccapiCalendarOrganizationsElement&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/CalendarOrganizations&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To populate the &amp;lt;pageID&amp;gt; and &amp;lt;subsiteID&amp;gt; tags, view the 'source' code for the 'ccapiCalendar' page that was just created. &lt;br /&gt;
 &lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;subsiteID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsSubSiteID = ##;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify the following line in the source code and enter this numeric value into the &amp;lt;pageID&amp;gt; tag:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     var jsPageID = ####;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage App Configuration Page===&lt;br /&gt;
The Calendar Configuration Page will be used to manage the ptCalendar Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.&lt;br /&gt;
&lt;br /&gt;
# Create a new page called '''Manage Configuration''' in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
# In the main content of the page, add a '''Custom Script''' element.&lt;br /&gt;
# Enter the explicit module path for:&lt;br /&gt;
#* ''/ADF/apps/pt_calendar/customcf/manage_configuration_header.cfm''&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
'''Create a Calendar Configuration Record'''&lt;br /&gt;
We are creating a single Calendar Configuration element record to be used within the application.  &lt;br /&gt;
&lt;br /&gt;
#Click the '''Add Configuration''' button&lt;br /&gt;
#You can update the following fields: &lt;br /&gt;
## '''General Tab'''&lt;br /&gt;
### '''New Event URL''' - clear this default entry (Only used if you have a public or non-admin event request form.)&lt;br /&gt;
### '''Event Notification From Address''' - add a valid ''FROM'' address &lt;br /&gt;
## '''View Page'''&lt;br /&gt;
### '''Calendar View Page Mode''' - set this option to 'Single'&lt;br /&gt;
### '''Calendar Views''' - make sure all 5 options are checked&lt;br /&gt;
### '''Default Calendar View''' - select MonthGrid (you can change this later) &lt;br /&gt;
## '''Rendering and Display Tab'''&lt;br /&gt;
### '''App UI Theme''' - select a UI theme  &lt;br /&gt;
## '''Performance and Debugging Tab'''&lt;br /&gt;
### '''Enable Event Cache''' - Uncheck the event cache option. (This option will be re-enabled later in the install process.)&lt;br /&gt;
#Submit the form to create '''a configuration record'''. &lt;br /&gt;
&lt;br /&gt;
Doing this will save the default field values in the configuration record of the custom element. &lt;br /&gt;
  &lt;br /&gt;
See the [[#App Configuration|App Configuration]] portion of this page for more information on the fields and the correct values.&lt;br /&gt;
&lt;br /&gt;
[[Reset ADF|Reset the ADF]]&lt;br /&gt;
&lt;br /&gt;
===Manage Calendar Organizations Datasheet===&lt;br /&gt;
The '''Calendar Organizations''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Organizations''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Calendar Organizations''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_organizations_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Organizations View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Organizations&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Organizations&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''UniqueID''', '''Name''', '''Ordinal''' and '''Active''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog choose the ACTIVE column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Active'&lt;br /&gt;
## Click Finish&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = ORGANIZATIONNAME Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Event Categories Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Categories''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Event Categories''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called '''Manage Event Categories''' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_event_categories_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Categories View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Event Categories&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Categories&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''CatID''', '''Name''', '''CategoryIcon''', '''OrgIDlist''', '''Active''' and '''NotificationUserIDs''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog choose the '''CatID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''Name''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-cat-names-with-icon.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''CategoryIcon''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##Check the checkbox of the field called &amp;quot;Hidden&amp;quot;.&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''OrgIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''ACTIVE''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now within the Datasheet View Column Properties dialog choose the '''NotificationUserIDs''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-id-list-cs-usernames.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Notify Users'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = Category Name Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Datasheet===&lt;br /&gt;
&lt;br /&gt;
The '''Calendar Event Details''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_event_details_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Event Details View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage events&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Event Details&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet Columns Dialog select the columns '''UniqueID''', '''Title''', '''EventDateTimeIDList''', '''EventRecurrenceID''', '''Category''', '''Organization''', '''EventApproved''' and '''ApprovalUserID''' from the Available Columns list and move them to the Selected Columns list and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Filter&amp;quot;.&lt;br /&gt;
## Select the &amp;quot;Subset of records&amp;quot; filter type.&lt;br /&gt;
## Apply the following filter: &lt;br /&gt;
### Field = Calendar_Event_Details.uniqueID&lt;br /&gt;
### Operator = Value Contained In List&lt;br /&gt;
### Value = request.ptCalendar.eventManager.eventIDlist (note: use the UDE button)&lt;br /&gt;
## Click Finish or Save&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''UniqueID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/event-edit-delete-copy.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete/Copy'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventDateTimeIDList''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-date-time-blocks.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Event Dates/Times'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''EventRecurrenceID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-recurrence-properties.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Recurrence Properties'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Category''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-cat-names-with-icons.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Categories'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''Organization''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''EventApproved''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-approval-status.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approval Status'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''AppovalUserID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Approver'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the Layout button&lt;br /&gt;
##Default Sorting = EVENTS DATES AND TIMES Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Events Grid===&lt;br /&gt;
&lt;br /&gt;
The Calendar Event can also be managed using the Calendar Event Grid view. This is a custom management interface that does NOT use a datasheet. This view will be used to manage recurring events. The following steps will describe how to configure the custom scripts to manage the Calendar Events.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Events Grid' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_filtering_tools.cfm&lt;br /&gt;
# On the '''Parameters''' tab of the custom script element add following parameter:&lt;br /&gt;
#* '''editType=Grid''' &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;lt;---''This is a very important''&lt;br /&gt;
#Click Save&lt;br /&gt;
#Add another Custom Script element to the main content container of the page.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_calendar_events_month_grid.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
====Manage Events Filtering Parameters (Optional)====&lt;br /&gt;
&lt;br /&gt;
The optional Filtering Tools custom script parameters can be used to create a Calendar Events management page that only displays Events from a specific Organization and/or Category, and also limits what filtering options are available.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;OrganizationName&amp;quot; - Add a valid Organization Name to only show events for a specific organization&lt;br /&gt;
* &amp;quot;OrganizationID&amp;quot; - Add a valid OrganizationID to only show events for a specific organization&lt;br /&gt;
* &amp;quot;CategoryName&amp;quot; - Add a valid Category Name to only show events for a specific category &lt;br /&gt;
* &amp;quot;CategoryID&amp;quot; - Add a valid CategoryID to only show events for a specific category &lt;br /&gt;
* &amp;quot;hideOrganizationFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;hideCategoryFilter&amp;quot; (true/false - default:false) - &lt;br /&gt;
* &amp;quot;showAdvancedFilter&amp;quot; (true/false - default:true) - &lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters List Example (with Names only showing the Category filter):'''&lt;br /&gt;
 organizationID=Athletics&lt;br /&gt;
 categoryID=Soccer&lt;br /&gt;
 hideOrganizationFilter=false&lt;br /&gt;
 hideCategoryFilter=true&lt;br /&gt;
 showAdvancedFilters=true&lt;br /&gt;
&lt;br /&gt;
 '''Custom Script Parameters Grid Example (with only a category ID and all the Advanced filters hidden):'''&lt;br /&gt;
 editType=Grid&lt;br /&gt;
 categoryID=DDD4997D-DEED-E699-7912617222570D25&lt;br /&gt;
 showAdvancedFilters=false&lt;br /&gt;
&lt;br /&gt;
 ''Note: If an Organization parameter is used with a Category parameter, it must be a valid category for that specific organization''&lt;br /&gt;
&lt;br /&gt;
===Calendar Events Cache Dashboard===&lt;br /&gt;
&lt;br /&gt;
To view or reset the Calendar Events Cache, you will want to set up the 'Calendar Events Cache Dashboard' utility page.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Calendar Events Cache Dashboard' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/configuration'' subsite.&lt;br /&gt;
#In the main content container of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_events_cache_dashboard.cfm&lt;br /&gt;
#Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
===Manage Page Mappings Datasheet - ''Optional''===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
The '''Calendar Page Mapping''' element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following steps will describe how to configure the datasheet to manage the '''Calendar Page Mapping''' element data.&lt;br /&gt;
&lt;br /&gt;
#Create a new page called 'Manage Calendar Page Mappings' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' subsite.&lt;br /&gt;
#In the main content of the page, add a Custom Script element.&lt;br /&gt;
#From the Custom Script element interface, click the &amp;quot;Edit&amp;quot; icon.&lt;br /&gt;
#Enter the following text into the Explicit Module path:&lt;br /&gt;
#* /ADF/apps/pt_calendar/customcf/manage_page_mappings_header.cfm&lt;br /&gt;
# From the Datasheet element interface, click the &amp;quot;Datasheet&amp;quot; icon.&lt;br /&gt;
# From the &amp;quot;Datasheet Views&amp;quot; dialog, follow the &amp;quot;Click here to create a new datasheet view&amp;quot; link.&lt;br /&gt;
# Enter the following information and then click &amp;quot;Next&amp;quot;:&lt;br /&gt;
## Name: All Page Mappings View&lt;br /&gt;
## Private: unchecked&lt;br /&gt;
## Default View: checked&lt;br /&gt;
## Description: View to manage All Page Mappings View&lt;br /&gt;
## Datasheet Source: Form Result/Custom Element Sheet&lt;br /&gt;
# From the Datasheet Source dialog, choose the &amp;quot;Calendar Page Mapping&amp;quot; custom element and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# From the Datasheet View Columns Dialog select the columns '''MapID''', '''Subsite''', '''OrgID''', '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''DailyPage''', and '''DetailsPage''' from the Available Columns list and move them to the Selected Columns list, and then click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
# You will be brought to the Datasheet View page; click &amp;quot;Close&amp;quot; to return to your page.&lt;br /&gt;
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose &amp;quot;Edit Columns&amp;quot;.&lt;br /&gt;
#Within the Datasheet View Column Properties dialog, choose the '''MapID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:  &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
##Click Finish or Save. &lt;br /&gt;
##In the Header field, switch the text to 'Edit/Delete'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''Subsite''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/manage-convert-subsiteid-subsiteurl.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
#Now, within the Datasheet View Column Properties dialog, choose the '''OrgID''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/apps/pt_calendar/datasheet-modules/convert-id-list-to-org-names.cfm&lt;br /&gt;
## Click Finish or Save &lt;br /&gt;
## In the Header field, switch the text to 'Organizations'&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#Now, within the Datasheet View Column Properties dialo,g choose the '''MonthlyGridPage''' column and click &amp;quot;edit&amp;quot;:&lt;br /&gt;
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box: &lt;br /&gt;
##*/ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
##Click Finish or Save&lt;br /&gt;
#With the remaining columns  '''MonthlyGridPage''', '''MonthlyListPage''', '''WeeklyGridPage''', '''WeeklyListPage''', '''Daily Page''' and '''DetailsPage''' repeat the steps from '''MonthlyGridPage'''&lt;br /&gt;
# Close the Edit Column window.&lt;br /&gt;
#Go back to the Datasheet element interface, select the '''Layout''' button&lt;br /&gt;
##Default Sorting = '''SUBSITE''' Ascending&lt;br /&gt;
##Uncheck &amp;quot;Show Alphabet Characters for Filtering&amp;quot;&lt;br /&gt;
##Uncheck &amp;quot;Allow JavaScript data sorting&amp;quot;&lt;br /&gt;
##Click Save&lt;br /&gt;
# Publish this page.&lt;br /&gt;
&lt;br /&gt;
== Calendar View Pages ==&lt;br /&gt;
# Create a CommonSpot page with a name '''index''' and the page title of '''Events Calendar''' using the '''Calendar Template''' and place it in the Calendar subsite. &lt;br /&gt;
#* Since this page is being created from the '''Calender Template''' which already contains all of the needed calendar elements, widgets, and modules, this '''All Events''' calendar page is complete.&lt;br /&gt;
#* If you are making a sub-calendar which will have filtered events by organization or by category, then select the organization or category to filter by from the options in the '''Calendar Display Properties''' element as described in the [[#Calendar Display Views (Wide Content Area)|Calendar Display Views (Wide Content Area)]] section.&lt;br /&gt;
# Submit the Page.&lt;br /&gt;
&lt;br /&gt;
== Getting Started Guide ==&lt;br /&gt;
After the PT Calendar App has been installed, there are a few initial tasks that will need to be done before events can be added. &lt;br /&gt;
&lt;br /&gt;
=== Calendar App Configuration ===&lt;br /&gt;
Make sure your App Configuration has been saved and the ADF reset.&lt;br /&gt;
&lt;br /&gt;
# If you haven't already done so, go to your Calendar App '''Manage Configuration''' page and click the button to '''Add Configuration''' data.&lt;br /&gt;
# Update the fields listed on the [[#App Configuration|App Configuration]] with your customized information&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Calendar Organizations Configuration ===&lt;br /&gt;
Organizations are used to build filtered sub-calendars on your site.  &lt;br /&gt;
&amp;lt;!-- For example, a top-level calendar would contain all events, but under an 'Athletics' subsite, you would build a calendar filtered by an 'Athletics' organization. The calendar would only display Events assigned to the 'Athletics' organization. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an Organization via the '''Manage Calendar Organization''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Calendar Organizations''' page&lt;br /&gt;
# Give the new record an '''Organization Name'''. This normally correlates to a subsite with a similar name. (For a filtered calendar in an 'Athletics' subsite, you would create an 'Athletics' calendar organization.)&lt;br /&gt;
# Check the 'Active' checkbox to enable the organization.&lt;br /&gt;
# Optional - Select a '''Website''' URL for this Organization.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Organization. (This field is only used if your Organizations will NOT be sorted by the Organization Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Event Categories Configuration ===&lt;br /&gt;
Event categories are a second level of grouping events. They are used to filter Events for a specific Organization on your site.  Categories can be assigned to specific organizations.&lt;br /&gt;
Add the Event Categories via the '''Manage Event Categories''' datasheet:&lt;br /&gt;
# Go to your Web Admin '''Manage Event Categories''' page&lt;br /&gt;
# Give the new record an '''Category Name'''. &lt;br /&gt;
# Check the 'Active' checkbox to enable the category.&lt;br /&gt;
# Optional - Select a '''Category Icon''' for this category. Category Icons are small (20x20) icons that represent a category.&lt;br /&gt;
# Optional - Set the '''Ordinal''' for this Category. (This field is only used if you categories will NOT be sorted by the Category Name.)&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== Calendar JS Calendar View Page Configuration - New for Calendar 5.0 ===&lt;br /&gt;
* [[Setup_Guide_JS_Calendar_View_Events_Mangement_Page|Setup Guide: JS Calendar View Events Management Page]]&lt;br /&gt;
* [[PT_Calendar_5.0_Setup_Guide_JS_Calendar_Events_View_Page|PT Calendar 5.0 - Setup Guide: JS Calendar Events View Page (old)]]&lt;br /&gt;
&lt;br /&gt;
=== Calendar Page Mapping Configuration - Optional ===&lt;br /&gt;
 ''Only used with the '''Multiple View Page''' Mode''&lt;br /&gt;
&lt;br /&gt;
When the Calendar is in '''Multiple View Page''' mode (see configuration), each Calendar View (month list, month grid, event details, etc.) is created on its Page. This is how view pages were set up in the previous version of the PT Calendar (v2).&lt;br /&gt;
&lt;br /&gt;
The Calendar View Page Mapping is used to store the mappings that are used to connect the links on the different calendar view pages to the correct calendar views by registering each page that contains the various calendar render handlers.&lt;br /&gt;
&lt;br /&gt;
To configure Calendar Page Mappings for the All Events Pages, complete the following steps.&lt;br /&gt;
&lt;br /&gt;
# Go to the web admin page you created for &amp;quot;Calendar Page Mappings Manager&amp;quot;&lt;br /&gt;
# Click &amp;quot;Add New Page Mapping&amp;quot;&lt;br /&gt;
# From the &amp;quot;Choose Main Subsite&amp;quot; drop down select the subsite where the calendar view pages will reside.&lt;br /&gt;
# In each of the Calendar View select list fields (Detail, Daily, Weekly list, Weekly grid, Monthly list, Monthly grid) choose the page that contains the render handler used for that listed view page. In most cases, the page selected for each will be in the same subsite that was selected in the &amp;quot;Choose Main Subsite&amp;quot; select list above.&lt;br /&gt;
# Click Submit&lt;br /&gt;
&lt;br /&gt;
=== GCE Viewer Page for PT Calendar Details Search Results - Optional ===&lt;br /&gt;
This feature allows the Calendar Event Details element records listed on a CommonSpot Search Results Element render handler to link to the correct event details displayed on a Calendar Event Details App view page. If the search results item links to a single event, the GCE View Page will forward to the Event Details view page. If multiple recurring events are matched, then the GCE Viewer Page will list the matched events as a list of event date links. &lt;br /&gt;
&lt;br /&gt;
 Important: This set-up guide assumes that you have “Full-Text Search” configured and at least one search collection setup for your site.&lt;br /&gt;
&lt;br /&gt;
If you haven’t already done so, install the '''PT Calendar Event Details Viewer''' custom metadata form via the Site Admin Element &amp;amp; Forms &amp;gt; Metadata forms dialog:&lt;br /&gt;
# Click on the '''Import Metadata Form''' at the bottom of the '''Metadata Forms''' dialog&lt;br /&gt;
## From the File Field click the “Choose File” button&lt;br /&gt;
## From your local hard drive select the '''PT-Calendar-Event-Details-Viewer-Metadata-Form.zip''' file from where you have the pt_calendar\exported-objects app directory saved&lt;br /&gt;
## Click Next&lt;br /&gt;
## Follow the remainder of the import wizard prompts to finish the '''Custom Metadata Form''' installation &lt;br /&gt;
# After the PT Calendar Event Details Viewer Metadata Form .zip archive is installed, you will need to re-copy the “calendar_search_redirect_rh.cfm” file to your “/ADF/Apps/pt_calendar/renderhandlers/” folder on your server to make sure this file has the latest updates.&lt;br /&gt;
&lt;br /&gt;
Set up a Calendar Details GCE Viewer Page:&lt;br /&gt;
# Create a new page in the “/calendar” subsite from the “Base Plus One” Template (or other Site-specific subsite and/or soft template)&lt;br /&gt;
## Page Standard Metadata:&lt;br /&gt;
### Name: calendar-event-details-forwarder&lt;br /&gt;
### CommonSpot Title: Calendar Event Details Select&lt;br /&gt;
### Page Title: Calendar Event Details Select &lt;br /&gt;
### Description: A calendar event details select list or redirect page&lt;br /&gt;
### Uncheck “Page Index”&lt;br /&gt;
### Uncheck “Full Text and Search Element Results”&lt;br /&gt;
### Click Next&lt;br /&gt;
## Set applicable “custom properties” for this new page&lt;br /&gt;
### Click Save&lt;br /&gt;
# On the newly created page, insert the “Calendar Event Details” Global Custom Element in the main content area container&lt;br /&gt;
## From the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Render Properties option and select the option:&lt;br /&gt;
### One Record - Based on URL (Developer Use)&lt;br /&gt;
### Click Save&lt;br /&gt;
## Then, from the element indicator icon for the “Calendar Event Details” Global Custom Element, click on the Custom icon:&lt;br /&gt;
### Use the “Linked Calendar Page” field to select the main “All Events” calendar view page you set up for viewing calendar event details you created during the main calendar app install. &lt;br /&gt;
#### Important: This is NOT the “Calendar Details GCE Viewer Page” you are currently editing&lt;br /&gt;
### Click Save&lt;br /&gt;
## Publish this page.&lt;br /&gt;
&lt;br /&gt;
Configure the Calendar Event Details GCE Viewer Page:&lt;br /&gt;
# From the CommonSpot Site Admin, go to the Element &amp;amp; Forms &amp;gt; Elements left menu item&lt;br /&gt;
# After the “Manage Elements” dialog opens, go to the “Calendar Event Details” global custom element.&lt;br /&gt;
## From the pencil icon, select the “View Page &amp;amp; Search Properties” menu item.&lt;br /&gt;
### Set the following settings&lt;br /&gt;
#### Element Viewing Page: {select the ‘Calendar Event Details Select’ page you just created}&lt;br /&gt;
#### Title: Events Title&lt;br /&gt;
#### Description: Description&lt;br /&gt;
#### Enable full-text indexing: X - checked&lt;br /&gt;
#### Full-Text Collection: {select the collection where calendar details data should be indexed.}&lt;br /&gt;
### Click Save&lt;br /&gt;
# After the “Calendar Event Details” global custom element is configured with the new GCE Viewer Page, you will need to  ‘Reindex” the ‘Full-Text Collection’ selected during its configuration.&lt;br /&gt;
&lt;br /&gt;
 Note: When the GCE Viewer Page is configured, it can also be used for linking to calendar event details from other CS elements like a Calendar Event Details Datasheet row using the /ADF/extensions/datasheet-modules/1.0/pageID-to-link-for-global-ce-records.cfm Datasheet Module (found in ADF 2.7 or above).&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8593</id>
		<title>Setup Guide JS Calendar View Events Management Page</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8593"/>
				<updated>2025-09-17T15:58:41Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* Event Management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.2''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater.&lt;br /&gt;
&lt;br /&gt;
== WebAdmin JS Calendar Events Management Page ==&lt;br /&gt;
[[File:Js calendar view - admin2.png|600px|border|default|Calendar JS View WebAdmin Page]]&lt;br /&gt;
&lt;br /&gt;
===To configure a Calendar Web Administration Events Management page===&lt;br /&gt;
# Follow the [[PT_Calendar|install or upgrade guide]] for PT Calendar v5.0 (or higher).&lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element. &lt;br /&gt;
## Add it to either the “PT Calendar Elements” category or your site’s PT Calendar App elements category.&lt;br /&gt;
# On a new Web Admin page built from your Web Admin template, in your '''secured''' /webadmin/calendar/ subsite, go into “Work on this Page”.&lt;br /&gt;
# Add a Calendar JS View Properties Custom Element to the large content area of the page.&lt;br /&gt;
# From the ”Calendar JS View Properties” element indicator, select “New Data” to open the calendar view options dialog.&lt;br /&gt;
## Go to the “Admin Settings” tab, and set the “Enable Admin Tools Data” field to “Yes” &lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Admin Settings Tab.png|600px|border|default|Calendar JS View Properties: Admin Settings Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the “Feed Security” Tab, move the Security Group and/or Users that will have access to view, add, edit, and/or delete the Web Admin Calendar events to the &amp;quot;Selected Items&amp;quot; columns.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Feed Security Tab.png|600px|border|default|Calendar JS View Properties: Feed Security Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the &amp;quot;Calendar Options&amp;quot; tab, set the Calendar Views you would like the admin calendar to offer, the default view, and the Linked Calendar Page:&lt;br /&gt;
### For this Events management page, we will select the following:&lt;br /&gt;
#### multMonthYear (Year view)&lt;br /&gt;
#### dayGridMonth (30-day grid view)&lt;br /&gt;
#### listMonth (30-day list view)&lt;br /&gt;
#### timeGridWeak (7-day grid view with time-slots view)&lt;br /&gt;
#### timeGridDay (1 day view with time-slots view)&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-JS Views.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - JS Views]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Set the Default View:&lt;br /&gt;
#### dayGridMonth&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Default View.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Default JS View]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Select a Linked Calendar Page for the “Event Details Preview”:&lt;br /&gt;
#### For this, if you can select a standard Calendar Page that has a details view enabled&lt;br /&gt;
#### Or create a new calendar page with the standard Event Details view config&lt;br /&gt;
#####Note: This Event details page can be a public calendar view details page or a private event details page in a protected subsite. If protected, the Calendar Admin user must have permission to read the private event details page.&lt;br /&gt;
#### The other Calendar Option fields on this tab (Button Library, Footer Button Wrapper Classes, and Footer Button Classes)  can be updated to use your specific CSS layout framework&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Details Link.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Details Page Link]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Calendar Filter Bar tab, enable the Event Filter Bar, set the Filter Bar Title, and the other available filter bar options:&lt;br /&gt;
### Set the “Enable Events Filters” to “Yes”&lt;br /&gt;
### Update the Filter Bar Title, if needed&lt;br /&gt;
### Set the “Enable Advanced Filters” to “Yes”&lt;br /&gt;
### Set the “Enable Organization Filter” to “Yes” if you have multiple Calendar organizations configured.&lt;br /&gt;
### Set the “Enable Category Filter” to “Yes” if you have multiple Calendar categories configured.&lt;br /&gt;
### Enable “Location Filter”, if needed &lt;br /&gt;
#### The Locations Filter pulls from the Locations entered for the active Events&lt;br /&gt;
### The other Filter Bar Option fields (Filter Button Wrapper Classes, and Footer Button Classes) can be updated to use your specific CSS layout framework&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Filter Bar Tab.png|600px|border|default|Calendar JS View Properties: Calendar Filter Bar Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Event Data Filters tab, leave all Organizations, Category option checkboxes as well as the “Approved Only” checkbox, unchecked.&lt;br /&gt;
### Leaving the “Approved Only” unchecked will allow the Pending and Denied events to render on the management calendar view.&lt;br /&gt;
### When creating a Calendar Events management page for specific Admin Group(s) and/or User(s), select the relevant Organization and/or Category(ies) to ensure that only their events are displayed in this view.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Event Data Filters Tab.png|600px|border|default|Calendar JS View Properties: Event Data Filters Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Navigation ===&lt;br /&gt;
* Use the navigation buttons (Previous, Next, Today) located at the top-left of the JS Calendar View to change the displayed date range view.&lt;br /&gt;
* Use the view selection buttons at the top-right of the JS Calendar view to switch between different calendar views (e.g., month, week, day).&lt;br /&gt;
* Use the events filter bar form to narrow down the events shown in the selected calendar view.&lt;br /&gt;
* Click the '''Reload Events''' button at the bottom-left of the JS Calendar view to refresh and load the latest calendar events.&lt;br /&gt;
**  Note: Useful for event management when multiple contributors are managing events simultaneously.&lt;br /&gt;
&lt;br /&gt;
=== Event Management ===&lt;br /&gt;
* When the '''Enable Admin Tools Data''' option is set to '''Yes''', status indicator icons will appear next to event titles and in tooltips, and the status icon key will display under the calendar view.:&lt;br /&gt;
** '''Approved Events''' – Green check mark icon&lt;br /&gt;
** '''Pending Events''' – Yellow flag icon&lt;br /&gt;
** '''Denied Events''' – Red warning triangle icon&lt;br /&gt;
*** Note: You can customize the labels for '''Approved''', '''Pending''', and '''Denied''' statuses in the '''PT Calendar Configuration''' settings.&lt;br /&gt;
* To add an event, click on an empty area within the JS Calendar view. This will open the '''Add Event''' dialog box.&lt;br /&gt;
** In the '''dayGridMonth''' (30-day grid) view, click on the empty space within a day square.&lt;br /&gt;
* To edit an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Edit Event'''.&lt;br /&gt;
** The '''Edit Event''' dialog box will open, pre-filled with the selected event's details.&lt;br /&gt;
* To copy an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Copy Event'''.&lt;br /&gt;
** The '''Copy Event''' dialog box will open.&lt;br /&gt;
** Choose your desired copy options and click the '''Copy''' button.&lt;br /&gt;
* To delete an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Delete Event'''.&lt;br /&gt;
** A '''Delete Event''' confirmation dialog box will appear.&lt;br /&gt;
* To view quick event details, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Quick Details View'''.&lt;br /&gt;
** A quick view dialog box will appear with event details.&lt;br /&gt;
* To open the full '''Event Details Page''', click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Open Details Page'''.&lt;br /&gt;
** The full event details will open in a new browser tab.&lt;br /&gt;
&amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View WebAdmin-Event Context Menu.png|300px|border|default|Calendar JS View: Event Management Context Menu]]&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8592</id>
		<title>Setup Guide JS Calendar View Events Management Page</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8592"/>
				<updated>2025-09-17T15:58:17Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* To configure a Calendar Web Administration Events Management page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.2''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater.&lt;br /&gt;
&lt;br /&gt;
== WebAdmin JS Calendar Events Management Page ==&lt;br /&gt;
[[File:Js calendar view - admin2.png|600px|border|default|Calendar JS View WebAdmin Page]]&lt;br /&gt;
&lt;br /&gt;
===To configure a Calendar Web Administration Events Management page===&lt;br /&gt;
# Follow the [[PT_Calendar|install or upgrade guide]] for PT Calendar v5.0 (or higher).&lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element. &lt;br /&gt;
## Add it to either the “PT Calendar Elements” category or your site’s PT Calendar App elements category.&lt;br /&gt;
# On a new Web Admin page built from your Web Admin template, in your '''secured''' /webadmin/calendar/ subsite, go into “Work on this Page”.&lt;br /&gt;
# Add a Calendar JS View Properties Custom Element to the large content area of the page.&lt;br /&gt;
# From the ”Calendar JS View Properties” element indicator, select “New Data” to open the calendar view options dialog.&lt;br /&gt;
## Go to the “Admin Settings” tab, and set the “Enable Admin Tools Data” field to “Yes” &lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Admin Settings Tab.png|600px|border|default|Calendar JS View Properties: Admin Settings Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the “Feed Security” Tab, move the Security Group and/or Users that will have access to view, add, edit, and/or delete the Web Admin Calendar events to the &amp;quot;Selected Items&amp;quot; columns.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Feed Security Tab.png|600px|border|default|Calendar JS View Properties: Feed Security Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the &amp;quot;Calendar Options&amp;quot; tab, set the Calendar Views you would like the admin calendar to offer, the default view, and the Linked Calendar Page:&lt;br /&gt;
### For this Events management page, we will select the following:&lt;br /&gt;
#### multMonthYear (Year view)&lt;br /&gt;
#### dayGridMonth (30-day grid view)&lt;br /&gt;
#### listMonth (30-day list view)&lt;br /&gt;
#### timeGridWeak (7-day grid view with time-slots view)&lt;br /&gt;
#### timeGridDay (1 day view with time-slots view)&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-JS Views.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - JS Views]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Set the Default View:&lt;br /&gt;
#### dayGridMonth&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Default View.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Default JS View]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Select a Linked Calendar Page for the “Event Details Preview”:&lt;br /&gt;
#### For this, if you can select a standard Calendar Page that has a details view enabled&lt;br /&gt;
#### Or create a new calendar page with the standard Event Details view config&lt;br /&gt;
#####Note: This Event details page can be a public calendar view details page or a private event details page in a protected subsite. If protected, the Calendar Admin user must have permission to read the private event details page.&lt;br /&gt;
#### The other Calendar Option fields on this tab (Button Library, Footer Button Wrapper Classes, and Footer Button Classes)  can be updated to use your specific CSS layout framework&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Details Link.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Details Page Link]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Calendar Filter Bar tab, enable the Event Filter Bar, set the Filter Bar Title, and the other available filter bar options:&lt;br /&gt;
### Set the “Enable Events Filters” to “Yes”&lt;br /&gt;
### Update the Filter Bar Title, if needed&lt;br /&gt;
### Set the “Enable Advanced Filters” to “Yes”&lt;br /&gt;
### Set the “Enable Organization Filter” to “Yes” if you have multiple Calendar organizations configured.&lt;br /&gt;
### Set the “Enable Category Filter” to “Yes” if you have multiple Calendar categories configured.&lt;br /&gt;
### Enable “Location Filter”, if needed &lt;br /&gt;
#### The Locations Filter pulls from the Locations entered for the active Events&lt;br /&gt;
### The other Filter Bar Option fields (Filter Button Wrapper Classes, and Footer Button Classes) can be updated to use your specific CSS layout framework&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Filter Bar Tab.png|600px|border|default|Calendar JS View Properties: Calendar Filter Bar Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Event Data Filters tab, leave all Organizations, Category option checkboxes as well as the “Approved Only” checkbox, unchecked.&lt;br /&gt;
### Leaving the “Approved Only” unchecked will allow the Pending and Denied events to render on the management calendar view.&lt;br /&gt;
### When creating a Calendar Events management page for specific Admin Group(s) and/or User(s), select the relevant Organization and/or Category(ies) to ensure that only their events are displayed in this view.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Event Data Filters Tab.png|600px|border|default|Calendar JS View Properties: Event Data Filters Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Navigation ===&lt;br /&gt;
* Use the navigation buttons (Previous, Next, Today) located at the top-left of the JS Calendar View to change the displayed date range view.&lt;br /&gt;
* Use the view selection buttons at the top-right of the JS Calendar view to switch between different calendar views (e.g., month, week, day).&lt;br /&gt;
* Use the events filter bar form to narrow down the events shown in the selected calendar view.&lt;br /&gt;
* Click the '''Reload Events''' button at the bottom-left of the JS Calendar view to refresh and load the latest calendar events.&lt;br /&gt;
**  Note: Useful for event management when multiple contributors are managing events simultaneously.&lt;br /&gt;
&lt;br /&gt;
=== Event Management ===&lt;br /&gt;
* When the '''Enable Admin Tools Data''' option is set to '''Yes''', status indicator icons will appear next to event titles and in tooltips, and the status icon key will display under the calendar view.:&lt;br /&gt;
** '''Approved Events''' – Green check mark icon&lt;br /&gt;
** '''Pending Events''' – Yellow flag icon&lt;br /&gt;
** '''Denied Events''' – Red warning triangle icon&lt;br /&gt;
*** Note: You can customize the labels for '''Approved''', '''Pending''', and '''Denied''' statuses in the '''PT Calendar Configuration''' settings.&lt;br /&gt;
* To add an event, click on an empty area within the JS Calendar view. This will open the '''Add Event''' dialog box.&lt;br /&gt;
** In the '''dayGridMonth''' (30-day grid) view, click on the empty space within a day square.&lt;br /&gt;
* To edit an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Edit Event'''.&lt;br /&gt;
** The '''Edit Event''' dialog box will open, pre-filled with the selected event's details.&lt;br /&gt;
* To copy an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Copy Event'''.&lt;br /&gt;
** The '''Copy Event''' dialog box will open.&lt;br /&gt;
** Choose your desired copy options and click the '''Copy''' button.&lt;br /&gt;
* To delete an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Delete Event'''.&lt;br /&gt;
** A '''Delete Event''' confirmation dialog box will appear.&lt;br /&gt;
* To view quick event details, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Quick Details View'''.&lt;br /&gt;
** A quick view dialog box will appear with event details.&lt;br /&gt;
* To open the full '''Event Details Page''', click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Open Details Page'''.&lt;br /&gt;
** The full event details will open in a new browser tab.&lt;br /&gt;
* &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View WebAdmin-Event Context Menu.png|300px|border|default|Calendar JS View: Event Management Context Menu]]&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8591</id>
		<title>Setup Guide JS Calendar View Events Management Page</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8591"/>
				<updated>2025-09-17T15:57:57Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* To configure a Calendar Web Administration Events Management page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.2''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater.&lt;br /&gt;
&lt;br /&gt;
== WebAdmin JS Calendar Events Management Page ==&lt;br /&gt;
[[File:Js calendar view - admin2.png|600px|border|default|Calendar JS View WebAdmin Page]]&lt;br /&gt;
&lt;br /&gt;
===To configure a Calendar Web Administration Events Management page===&lt;br /&gt;
# Follow the [[PT_Calendar|install or upgrade guide]] for PT Calendar v5.0 (or higher).&lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element. &lt;br /&gt;
## Add it to either the “PT Calendar Elements” category or your site’s PT Calendar App elements category.&lt;br /&gt;
# On a new Web Admin page built from your Web Admin template, in your secure /webadmin/calendar/ subsite, go into “Work on this Page”.&lt;br /&gt;
# Add a Calendar JS View Properties Custom Element to the large content area of the page.&lt;br /&gt;
# From the ”Calendar JS View Properties” element indicator, select “New Data” to open the calendar view options dialog.&lt;br /&gt;
## Go to the “Admin Settings” tab, and set the “Enable Admin Tools Data” field to “Yes” &lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Admin Settings Tab.png|600px|border|default|Calendar JS View Properties: Admin Settings Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the “Feed Security” Tab, move the Security Group and/or Users that will have access to view, add, edit, and/or delete the Web Admin Calendar events to the &amp;quot;Selected Items&amp;quot; columns.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Feed Security Tab.png|600px|border|default|Calendar JS View Properties: Feed Security Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the &amp;quot;Calendar Options&amp;quot; tab, set the Calendar Views you would like the admin calendar to offer, the default view, and the Linked Calendar Page:&lt;br /&gt;
### For this Events management page, we will select the following:&lt;br /&gt;
#### multMonthYear (Year view)&lt;br /&gt;
#### dayGridMonth (30-day grid view)&lt;br /&gt;
#### listMonth (30-day list view)&lt;br /&gt;
#### timeGridWeak (7-day grid view with time-slots view)&lt;br /&gt;
#### timeGridDay (1 day view with time-slots view)&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-JS Views.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - JS Views]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Set the Default View:&lt;br /&gt;
#### dayGridMonth&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Default View.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Default JS View]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Select a Linked Calendar Page for the “Event Details Preview”:&lt;br /&gt;
#### For this, if you can select a standard Calendar Page that has a details view enabled&lt;br /&gt;
#### Or create a new calendar page with the standard Event Details view config&lt;br /&gt;
#####Note: This Event details page can be a public calendar view details page or a private event details page in a protected subsite. If protected, the Calendar Admin user must have permission to read the private event details page.&lt;br /&gt;
#### The other Calendar Option fields on this tab (Button Library, Footer Button Wrapper Classes, and Footer Button Classes)  can be updated to use your specific CSS layout framework&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Details Link.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Details Page Link]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Calendar Filter Bar tab, enable the Event Filter Bar, set the Filter Bar Title, and the other available filter bar options:&lt;br /&gt;
### Set the “Enable Events Filters” to “Yes”&lt;br /&gt;
### Update the Filter Bar Title, if needed&lt;br /&gt;
### Set the “Enable Advanced Filters” to “Yes”&lt;br /&gt;
### Set the “Enable Organization Filter” to “Yes” if you have multiple Calendar organizations configured.&lt;br /&gt;
### Set the “Enable Category Filter” to “Yes” if you have multiple Calendar categories configured.&lt;br /&gt;
### Enable “Location Filter”, if needed &lt;br /&gt;
#### The Locations Filter pulls from the Locations entered for the active Events&lt;br /&gt;
### The other Filter Bar Option fields (Filter Button Wrapper Classes, and Footer Button Classes) can be updated to use your specific CSS layout framework&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Filter Bar Tab.png|600px|border|default|Calendar JS View Properties: Calendar Filter Bar Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Event Data Filters tab, leave all Organizations, Category option checkboxes as well as the “Approved Only” checkbox, unchecked.&lt;br /&gt;
### Leaving the “Approved Only” unchecked will allow the Pending and Denied events to render on the management calendar view.&lt;br /&gt;
### When creating a Calendar Events management page for specific Admin Group(s) and/or User(s), select the relevant Organization and/or Category(ies) to ensure that only their events are displayed in this view.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Event Data Filters Tab.png|600px|border|default|Calendar JS View Properties: Event Data Filters Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Navigation ===&lt;br /&gt;
* Use the navigation buttons (Previous, Next, Today) located at the top-left of the JS Calendar View to change the displayed date range view.&lt;br /&gt;
* Use the view selection buttons at the top-right of the JS Calendar view to switch between different calendar views (e.g., month, week, day).&lt;br /&gt;
* Use the events filter bar form to narrow down the events shown in the selected calendar view.&lt;br /&gt;
* Click the '''Reload Events''' button at the bottom-left of the JS Calendar view to refresh and load the latest calendar events.&lt;br /&gt;
**  Note: Useful for event management when multiple contributors are managing events simultaneously.&lt;br /&gt;
&lt;br /&gt;
=== Event Management ===&lt;br /&gt;
* When the '''Enable Admin Tools Data''' option is set to '''Yes''', status indicator icons will appear next to event titles and in tooltips, and the status icon key will display under the calendar view.:&lt;br /&gt;
** '''Approved Events''' – Green check mark icon&lt;br /&gt;
** '''Pending Events''' – Yellow flag icon&lt;br /&gt;
** '''Denied Events''' – Red warning triangle icon&lt;br /&gt;
*** Note: You can customize the labels for '''Approved''', '''Pending''', and '''Denied''' statuses in the '''PT Calendar Configuration''' settings.&lt;br /&gt;
* To add an event, click on an empty area within the JS Calendar view. This will open the '''Add Event''' dialog box.&lt;br /&gt;
** In the '''dayGridMonth''' (30-day grid) view, click on the empty space within a day square.&lt;br /&gt;
* To edit an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Edit Event'''.&lt;br /&gt;
** The '''Edit Event''' dialog box will open, pre-filled with the selected event's details.&lt;br /&gt;
* To copy an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Copy Event'''.&lt;br /&gt;
** The '''Copy Event''' dialog box will open.&lt;br /&gt;
** Choose your desired copy options and click the '''Copy''' button.&lt;br /&gt;
* To delete an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Delete Event'''.&lt;br /&gt;
** A '''Delete Event''' confirmation dialog box will appear.&lt;br /&gt;
* To view quick event details, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Quick Details View'''.&lt;br /&gt;
** A quick view dialog box will appear with event details.&lt;br /&gt;
* To open the full '''Event Details Page''', click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Open Details Page'''.&lt;br /&gt;
** The full event details will open in a new browser tab.&lt;br /&gt;
* &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View WebAdmin-Event Context Menu.png|300px|border|default|Calendar JS View: Event Management Context Menu]]&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8590</id>
		<title>Setup Guide JS Calendar View Events Management Page</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Setup_Guide_JS_Calendar_View_Events_Management_Page&amp;diff=8590"/>
				<updated>2025-09-17T15:57:31Z</updated>
		
		<summary type="html">&lt;p&gt;Gcronkright: /* To configure a Calendar Web Administration Events Management page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[PT_Calendar|PT Calendar]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v5.0 of this application requires '''ADF 2.7.2''' or greater and '''CommonSpot 11.0.0, 10.9.1 or 10.8.3''' or greater.&lt;br /&gt;
&lt;br /&gt;
== WebAdmin JS Calendar Events Management Page ==&lt;br /&gt;
[[File:Js calendar view - admin2.png|600px|border|default|Calendar JS View WebAdmin Page]]&lt;br /&gt;
&lt;br /&gt;
===To configure a Calendar Web Administration Events Management page===&lt;br /&gt;
# Follow the [[PT_Calendar|install or upgrade guide]] for PT Calendar v5.0 (or higher).&lt;br /&gt;
# If you haven’t already, import the Calendar JS View Properties custom element. &lt;br /&gt;
## Add it to either the “PT Calendar Elements” category or your site’s PT Calendar App elements category.&lt;br /&gt;
# On a new Web Admin page built from your Web Admin template, in your /webadmin/calendar/ subsite, go into “Work on this Page”.&lt;br /&gt;
# Add a Calendar JS View Properties Custom Element to the large content area of the page.&lt;br /&gt;
# From the ”Calendar JS View Properties” element indicator, select “New Data” to open the calendar view options dialog.&lt;br /&gt;
## Go to the “Admin Settings” tab, and set the “Enable Admin Tools Data” field to “Yes” &lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Admin Settings Tab.png|600px|border|default|Calendar JS View Properties: Admin Settings Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the “Feed Security” Tab, move the Security Group and/or Users that will have access to view, add, edit, and/or delete the Web Admin Calendar events to the &amp;quot;Selected Items&amp;quot; columns.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Feed Security Tab.png|600px|border|default|Calendar JS View Properties: Feed Security Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the &amp;quot;Calendar Options&amp;quot; tab, set the Calendar Views you would like the admin calendar to offer, the default view, and the Linked Calendar Page:&lt;br /&gt;
### For this Events management page, we will select the following:&lt;br /&gt;
#### multMonthYear (Year view)&lt;br /&gt;
#### dayGridMonth (30-day grid view)&lt;br /&gt;
#### listMonth (30-day list view)&lt;br /&gt;
#### timeGridWeak (7-day grid view with time-slots view)&lt;br /&gt;
#### timeGridDay (1 day view with time-slots view)&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-JS Views.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - JS Views]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Set the Default View:&lt;br /&gt;
#### dayGridMonth&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Default View.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Default JS View]]&amp;lt;/div&amp;gt;&lt;br /&gt;
### Select a Linked Calendar Page for the “Event Details Preview”:&lt;br /&gt;
#### For this, if you can select a standard Calendar Page that has a details view enabled&lt;br /&gt;
#### Or create a new calendar page with the standard Event Details view config&lt;br /&gt;
#####Note: This Event details page can be a public calendar view details page or a private event details page in a protected subsite. If protected, the Calendar Admin user must have permission to read the private event details page.&lt;br /&gt;
#### The other Calendar Option fields on this tab (Button Library, Footer Button Wrapper Classes, and Footer Button Classes)  can be updated to use your specific CSS layout framework&lt;br /&gt;
#### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Options Tab-Details Link.png|600px|border|default|Calendar JS View Properties: Calendar Options Tab - Details Page Link]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Calendar Filter Bar tab, enable the Event Filter Bar, set the Filter Bar Title, and the other available filter bar options:&lt;br /&gt;
### Set the “Enable Events Filters” to “Yes”&lt;br /&gt;
### Update the Filter Bar Title, if needed&lt;br /&gt;
### Set the “Enable Advanced Filters” to “Yes”&lt;br /&gt;
### Set the “Enable Organization Filter” to “Yes” if you have multiple Calendar organizations configured.&lt;br /&gt;
### Set the “Enable Category Filter” to “Yes” if you have multiple Calendar categories configured.&lt;br /&gt;
### Enable “Location Filter”, if needed &lt;br /&gt;
#### The Locations Filter pulls from the Locations entered for the active Events&lt;br /&gt;
### The other Filter Bar Option fields (Filter Button Wrapper Classes, and Footer Button Classes) can be updated to use your specific CSS layout framework&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Calendar Filter Bar Tab.png|600px|border|default|Calendar JS View Properties: Calendar Filter Bar Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
## On the Event Data Filters tab, leave all Organizations, Category option checkboxes as well as the “Approved Only” checkbox, unchecked.&lt;br /&gt;
### Leaving the “Approved Only” unchecked will allow the Pending and Denied events to render on the management calendar view.&lt;br /&gt;
### When creating a Calendar Events management page for specific Admin Group(s) and/or User(s), select the relevant Organization and/or Category(ies) to ensure that only their events are displayed in this view.&lt;br /&gt;
### &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View Props-Event Data Filters Tab.png|600px|border|default|Calendar JS View Properties: Event Data Filters Tab]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar Navigation ===&lt;br /&gt;
* Use the navigation buttons (Previous, Next, Today) located at the top-left of the JS Calendar View to change the displayed date range view.&lt;br /&gt;
* Use the view selection buttons at the top-right of the JS Calendar view to switch between different calendar views (e.g., month, week, day).&lt;br /&gt;
* Use the events filter bar form to narrow down the events shown in the selected calendar view.&lt;br /&gt;
* Click the '''Reload Events''' button at the bottom-left of the JS Calendar view to refresh and load the latest calendar events.&lt;br /&gt;
**  Note: Useful for event management when multiple contributors are managing events simultaneously.&lt;br /&gt;
&lt;br /&gt;
=== Event Management ===&lt;br /&gt;
* When the '''Enable Admin Tools Data''' option is set to '''Yes''', status indicator icons will appear next to event titles and in tooltips, and the status icon key will display under the calendar view.:&lt;br /&gt;
** '''Approved Events''' – Green check mark icon&lt;br /&gt;
** '''Pending Events''' – Yellow flag icon&lt;br /&gt;
** '''Denied Events''' – Red warning triangle icon&lt;br /&gt;
*** Note: You can customize the labels for '''Approved''', '''Pending''', and '''Denied''' statuses in the '''PT Calendar Configuration''' settings.&lt;br /&gt;
* To add an event, click on an empty area within the JS Calendar view. This will open the '''Add Event''' dialog box.&lt;br /&gt;
** In the '''dayGridMonth''' (30-day grid) view, click on the empty space within a day square.&lt;br /&gt;
* To edit an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Edit Event'''.&lt;br /&gt;
** The '''Edit Event''' dialog box will open, pre-filled with the selected event's details.&lt;br /&gt;
* To copy an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Copy Event'''.&lt;br /&gt;
** The '''Copy Event''' dialog box will open.&lt;br /&gt;
** Choose your desired copy options and click the '''Copy''' button.&lt;br /&gt;
* To delete an event, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Delete Event'''.&lt;br /&gt;
** A '''Delete Event''' confirmation dialog box will appear.&lt;br /&gt;
* To view quick event details, click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Quick Details View'''.&lt;br /&gt;
** A quick view dialog box will appear with event details.&lt;br /&gt;
* To open the full '''Event Details Page''', click on an '''All Day''' or '''time-prefixed''' event tile to open the '''Event Management Context Menu''', then select '''Open Details Page'''.&lt;br /&gt;
** The full event details will open in a new browser tab.&lt;br /&gt;
* &amp;lt;div style=&amp;quot;list-style:none;&amp;quot;&amp;gt;[[File:JS View WebAdmin-Event Context Menu.png|300px|border|default|Calendar JS View: Event Management Context Menu]]&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	</feed>