From 48381e8f653f8cda3381bdade36f765628d691c1 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 5 Sep 2024 08:38:21 +0200 Subject: [PATCH 1/2] Document that v:resource.record is not to be used as generic record loader Related: https://github.com/FluidTYPO3/vhs/issues/960 --- Classes/ViewHelpers/Resource/RecordViewHelper.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Classes/ViewHelpers/Resource/RecordViewHelper.php b/Classes/ViewHelpers/Resource/RecordViewHelper.php index cdc44d86d..1ae7dd215 100644 --- a/Classes/ViewHelpers/Resource/RecordViewHelper.php +++ b/Classes/ViewHelpers/Resource/RecordViewHelper.php @@ -11,7 +11,11 @@ use FluidTYPO3\Vhs\ViewHelpers\Resource\Record\AbstractRecordResourceViewHelper; /** - * Generic FAL resource ViewHelper + * Generic FAL resource ViewHelper. + * + * .. warning:: + * This view helper must only be used with FAL resources. + * It is **not** meant to be used as generic data loading view helper. */ class RecordViewHelper extends AbstractRecordResourceViewHelper { From 6aa06670653793d21ca9aa3ffe07a4101a2f1c8f Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 5 Sep 2024 08:36:56 +0200 Subject: [PATCH 2/2] Document that v:content.get does not work in backend --- Classes/ViewHelpers/Content/GetViewHelper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/ViewHelpers/Content/GetViewHelper.php b/Classes/ViewHelpers/Content/GetViewHelper.php index 972013234..3827bb28d 100644 --- a/Classes/ViewHelpers/Content/GetViewHelper.php +++ b/Classes/ViewHelpers/Content/GetViewHelper.php @@ -12,6 +12,8 @@ /** * ViewHelper used to render get content elements in Fluid templates + * + * Does not work in the TYPO3 backend. */ class GetViewHelper extends AbstractContentViewHelper {