diff --git a/local_packages/psi/Classes/ViewHelpers/SubpagesViewHelper.php b/local_packages/psi/Classes/ViewHelpers/SubpagesViewHelper.php
new file mode 100644
index 0000000..9bbb01a
--- /dev/null
+++ b/local_packages/psi/Classes/ViewHelpers/SubpagesViewHelper.php
@@ -0,0 +1,59 @@
+registerArgument('uid', 'int', 'the UID of the Page to Look for Subpages', true);
+ }
+
+ /**
+ * @param array $arguments
+ * @param \Closure $renderChildrenClosure
+ * @param RenderingContextInterface $renderingContext
+ * @return string
+ */
+ public static function renderStatic(
+ array $arguments,
+ \Closure $renderChildrenClosure,
+ RenderingContextInterface $renderingContext
+ ): array {
+
+ $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
+ ->getQueryBuilderForTable('pages');
+ $resultsArray = [];
+ $id = (int)$arguments['uid'];
+
+ $results = $queryBuilder
+ ->select('*')
+ ->from('pages')
+ ->where(
+ $queryBuilder->expr()->eq(
+ 'pid',
+ $queryBuilder->createNamedParameter($id, Connection::PARAM_INT)
+ )
+ )
+ ->executeQuery();
+
+ while ($row = $results->fetchAssociative()) {
+ array_push($resultsArray, $row);
+ }
+ return $resultsArray;
+ }
+
+}
diff --git a/local_packages/psi/Resources/Private/Language/es.locallang.xlf b/local_packages/psi/Resources/Private/Language/es.locallang.xlf
index e2fc433..2105438 100644
--- a/local_packages/psi/Resources/Private/Language/es.locallang.xlf
+++ b/local_packages/psi/Resources/Private/Language/es.locallang.xlf
@@ -83,6 +83,10 @@
Descargar
+
+
+ Sigue leyendo
+