From c54bbeb490ae02334135b657ad9c24174ada80ce Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 16 Jun 2023 17:00:17 +0200 Subject: [PATCH 1/1] --- README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..4414a54 --- /dev/null +++ b/README.rst @@ -0,0 +1,11 @@ +Needed when linking to itself with an anchor. + +In the plugin controller, assign the ``currentUid`` template variable to the view:: + + $this->view->assign('currentUid', $this->configurationManager->getContentObject()->data['uid']); + +Then in the view use the ``currentUid`` to generate links:: + + go! + +Taken from https://stackoverflow.com/a/54663152/282601 \ No newline at end of file -- 2.30.2