diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement--browseClassGroups.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement--browseClassGroups.ftl
new file mode 100644
index 000000000..6fde98c7f
--- /dev/null
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement--browseClassGroups.ftl
@@ -0,0 +1,66 @@
+<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
+<#--Browse Class Groups Section-->
+<#-----------Variable assignment-------------->
+<#--Requires Menu action be defined in parent template-->
+<#assign classGroup = pageData.classGroup />
+<#assign classGroups = pageData.classGroups />
+<#assign isClassGroupPage = false/>
+<#assign includeAllClasses = false/>
+<#-- some additional processing here which shows or hides the class group selection and classes based on initial action-->
+<#assign existingClassGroupStyle = " " />
+<#assign selectClassGroupStyle = 'class="hidden"' />
+<#-- Reveal the class group and hide the class selects if adding a new menu item or editing an existing menu item with an empty class group (no classes)-->
+<#-- Menu action needs to be sent from main template-->
+<#if menuAction == "Add" || !classGroup?has_content>
+ <#assign existingClassGroupStyle = 'class="hidden"' />
+ <#assign selectClassGroupStyle = " " />
+#if>
+
+
+<#--HTML Portion-->
+
+
+
+
+
+
+
+
+
+
+ <#-- Select classes in a class group -->
+
+
+
+ <#--Include JavaScript specific to the types of data getters related to this content-->
+ <#include "pageManagement--browseClassGroupsScripts.ftl">
\ No newline at end of file
diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement--browseClassGroupsScripts.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement--browseClassGroupsScripts.ftl
new file mode 100644
index 000000000..4f87fb4f4
--- /dev/null
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement--browseClassGroupsScripts.ftl
@@ -0,0 +1,4 @@
+<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
+<#-- Scripts for class group browsing -->
+${scripts.add('')}
+${scripts.add('')}
diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement--contentTemplates.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement--contentTemplates.ftl
new file mode 100644
index 000000000..b0f2d37e1
--- /dev/null
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement--contentTemplates.ftl
@@ -0,0 +1,5 @@
+<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
+<#--These are the different content templates that will be cloned and used within page management-->
+<#include "pageManagement--browseClassGroups.ftl">
+<#include "pageManagement--sparqlQuery.ftl">
+<#include "pageManagement--fixedHtml.ftl">
\ No newline at end of file
diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement--customDataScript.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement--customDataScript.ftl
new file mode 100644
index 000000000..b300f0222
--- /dev/null
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement--customDataScript.ftl
@@ -0,0 +1,16 @@
+<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
+<#--Sets up script for custom form data. Including here instead of as separate javascript
+file to ensure this script is always loaded first. Can also make sure placed first in
+scripts list.-->
+
+
\ No newline at end of file
diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement--fixedHtml.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement--fixedHtml.ftl
new file mode 100644
index 000000000..cd7f46929
--- /dev/null
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement--fixedHtml.ftl
@@ -0,0 +1,10 @@
+<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
+<#--This contains the template for the fixed HTML content type that is to be cloned and used in page management-->
+
+
+
+
+
+
+
+${scripts.add('')}
diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement--sparqlQuery.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement--sparqlQuery.ftl
new file mode 100644
index 000000000..dc7da786f
--- /dev/null
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement--sparqlQuery.ftl
@@ -0,0 +1,11 @@
+<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
+<#--This contains the template for the Sparql Query content type that is to be cloned and used in page management-->
+
+
+
+
+
+
+
+
+${scripts.add('')}
diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl
index 4a3935f5a..64410e204 100644
--- a/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl
+++ b/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl
@@ -1,27 +1,16 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
-<#--Set up variables-->
+<#--------Set up variables-------->
<#assign pageData = editConfiguration.pageData />
<#assign menuAction = pageData.menuAction />
-<#assign classGroup = pageData.classGroup />
-<#assign classGroups = pageData.classGroups />
+
<#assign pageName = "" />
<#assign selectedTemplateType = "default" />
<#assign prettyUrl = ""/>
<#assign associatedPage = ""/>
<#assign associatedPageURI = ""/>
<#assign menuItem = ""/>
-<#assign isClassGroupPage = false/>
-<#assign includeAllClasses = false/>
-
-<#-- some additional processing here which shows or hides the class group selection and classes based on initial action-->
-<#assign existingClassGroupStyle = " " />
-<#assign selectClassGroupStyle = 'class="hidden"' />
-<#-- Reveal the class group and hide the class selects if adding a new menu item or editing an existing menu item with an empty class group (no classes)-->
-<#if menuAction == "Add" || !classGroup?has_content>
- <#assign existingClassGroupStyle = 'class="hidden"' />
- <#assign selectClassGroupStyle = " " />
-#if>
+<#------------HTML Portion------------->
@@ -35,6 +24,7 @@
Add Page
+
@@ -51,69 +41,10 @@
-
-
-
-
-
-
-
-
-
-
- <#-- Select classes in a class group -->
-
@@ -158,43 +89,22 @@
-
-
+
+<#include "pageManagement--customDataScript.ftl">
${stylesheets.add('')}
${stylesheets.add('')}
${stylesheets.add('')}
-
${scripts.add('')}
${scripts.add('')}
-
${scripts.add('')}
${scripts.add('')}
${scripts.add('')}
-<#--Include additional templates here to allow for additional data getters etc. for other products-->
-${scripts.add('')}
-${scripts.add('')}
-${scripts.add('')}
-${scripts.add('')}
+<#--Process Data Getter Utils will refer to the various content type specific javascript files that should
+already have been added within the template section for each content type-->
${scripts.add('')}
-
+<#--Page management is used on page load and utilizes processDataGetterUtils as well as the custom data from the custom data script-->
${scripts.add('')}