diff --git a/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragment/.content.xml b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragment/.content.xml new file mode 100644 index 000000000..eebfe8ab3 --- /dev/null +++ b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragment/.content.xml @@ -0,0 +1,7 @@ + + diff --git a/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragment/_cq_template.xml b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragment/_cq_template.xml new file mode 100644 index 000000000..4794e5d10 --- /dev/null +++ b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragment/_cq_template.xml @@ -0,0 +1,5 @@ + + diff --git a/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragmentcontainer/.content.xml b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragmentcontainer/.content.xml new file mode 100644 index 000000000..c1b5f6fc2 --- /dev/null +++ b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragmentcontainer/.content.xml @@ -0,0 +1,7 @@ + + diff --git a/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragmentcontainer/_cq_template.xml b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragmentcontainer/_cq_template.xml new file mode 100644 index 000000000..21c58d094 --- /dev/null +++ b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fragmentcontainer/_cq_template.xml @@ -0,0 +1,6 @@ + + diff --git a/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/recaptcha/.content.xml b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/recaptcha/.content.xml new file mode 100644 index 000000000..70d2260fd --- /dev/null +++ b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/recaptcha/.content.xml @@ -0,0 +1,8 @@ + + diff --git a/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/recaptcha/_cq_template.xml b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/recaptcha/_cq_template.xml new file mode 100644 index 000000000..ebaaa9a22 --- /dev/null +++ b/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/recaptcha/_cq_template.xml @@ -0,0 +1,6 @@ + + diff --git a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/.content.xml b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/.content.xml index 39c9dc237..415ff2bbb 100644 --- a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/.content.xml +++ b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/.content.xml @@ -8,4 +8,7 @@ #if ( $includeForms == "y" or $includeFormsenrollment == "y" or $includeFormscommunications == "y" or $includeFormsheadless == "y" ) #end + #if ( $aemVersion == "cloud" and ( $includeForms == "y" or $includeFormsenrollment == "y" or $includeFormscommunications == "y" or $includeFormsheadless == "y") ) + + #end diff --git a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/.content.xml b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/.content.xml new file mode 100755 index 000000000..0b143e17e --- /dev/null +++ b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/.content.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/initial/.content.xml b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/initial/.content.xml new file mode 100755 index 000000000..d45594ee3 --- /dev/null +++ b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/initial/.content.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/policies/.content.xml b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/policies/.content.xml new file mode 100755 index 000000000..0e0e61c7a --- /dev/null +++ b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/policies/.content.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/structure/.content.xml b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/structure/.content.xml new file mode 100755 index 000000000..f08ee1b4a --- /dev/null +++ b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/structure/.content.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + diff --git a/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/thumbnail.png b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/thumbnail.png new file mode 100644 index 000000000..aed3a0a6d Binary files /dev/null and b/src/main/archetype/ui.content/src/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/afv2-fragment-page/thumbnail.png differ diff --git a/src/main/resources/META-INF/archetype-post-generate.groovy b/src/main/resources/META-INF/archetype-post-generate.groovy index 21a990ec0..343657890 100644 --- a/src/main/resources/META-INF/archetype-post-generate.groovy +++ b/src/main/resources/META-INF/archetype-post-generate.groovy @@ -213,6 +213,7 @@ if (includeForms == "n" && includeFormsenrollment == "n" && includeFormscommunic assert new File("$appsFolder/components/adaptiveForm").deleteDir() assert new File("$appsFolder/components/formsandcommunicationportal").deleteDir() assert new File("$confFolder/settings/wcm/template-types/af-page-v2").deleteDir() + assert new File("$confFolder/settings/wcm/template-types/afv2-fragment-page").deleteDir() assert new File("$confFolder/settings/wcm/templates/blank-af-v2").deleteDir() assert new File("$confFolder/forms").deleteDir() }