浏览代码

create Configuration folder and all its contents

jabongwa 2 年之前
父节点
当前提交
8e343a350b
共有 2 个文件被更改,包括 37 次插入0 次删除
  1. 18 0
      Configuration/TypoScript/constants.typoscript
  2. 19 0
      Configuration/TypoScript/settings.typoscript

+ 18 - 0
Configuration/TypoScript/constants.typoscript

@@ -0,0 +1,18 @@
+module.tx_pagemanager {
+    view {
+        # cat=module.tx_pagemanager_pgmgt/file; type=string; label=Path to template root (BE)
+        templateRootPath = EXT:pagemanager/Resources/Private/Templates/Backend/
+        # cat=module.tx_pagemanager_pgmgt/file; type=string; label=Path to template partials (BE)
+        partialRootPath = EXT:pagemanager/Resources/Private/Partials/Backend/
+        # cat=module.tx_pagemanager_pgmgt/file; type=string; label=Path to template layouts (BE)
+        layoutRootPath = EXT:pagemanager/Resources/Private/Layouts/Backend/
+    }
+    persistence {
+        # cat=module.tx_pagemanager_pgmgt//a; type=string; label=Default storage PID
+        storagePid =
+    }
+    settings {
+      hidePagination = 0
+		  itemsPerPage = 50
+    }
+}

+ 19 - 0
Configuration/TypoScript/settings.typoscript

@@ -0,0 +1,19 @@
+
+# Module configuration
+module.tx_pagemanager {
+    persistence {
+        storagePid = {$module.tx_pagemanager.persistence.storagePid}
+    }
+    view {
+        templateRootPaths.0 = EXT:pagemanager/Resources/Private/Templates/Backend/
+        templateRootPaths.1 = {$module.tx_pagemanager.view.templateRootPath}
+        partialRootPaths.0 = EXT:pagemanager/Resources/Private/Partials/Backend/
+        partialRootPaths.1 = {$module.tx_pagemanager.view.partialRootPath}
+        layoutRootPaths.0 = EXT:pagemanager/Resources/Private/Layouts/Backend/
+        layoutRootPaths.1 = {$module.tx_pagemanager.view.layoutRootPath}
+    }
+    settings {
+      itemsPerPage = {$module.tx_pagemanager.settings.itemsPerPage}
+		  hidePagination = {$module.tx_pagemanager.settings.hidePagination}
+    }
+}