From 31fd580a7bd61749c0c006f11d70a8afd4cc6a2d Mon Sep 17 00:00:00 2001 From: Oh Martin Date: Sat, 16 Oct 2021 10:32:22 +0200 Subject: [PATCH] Comment out '->_dispatcher->trigger(onContentPrepare, array('com_demo.looking.description', &, &, 0))', to be able to display the detail view of an item --- site/models/looking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/models/looking.php b/site/models/looking.php index 2f491aa..1a64c96 100644 --- a/site/models/looking.php +++ b/site/models/looking.php @@ -149,7 +149,7 @@ class DemoModelLooking extends JModelItem $_description = new stdClass(); $_description->text =& $data->description; // value must be in text // Since all values are now in text (Joomla Limitation), we also add the field name (description) to context - $this->_dispatcher->trigger("onContentPrepare", array('com_demo.looking.description', &$_description, &$params, 0)); +// $this->_dispatcher->trigger("onContentPrepare", array('com_demo.looking.description', &$_description, &$params, 0)); // Checking if description has uikit components that must be loaded. $this->uikitComp = DemoHelper::getUikitComp($data->description,$this->uikitComp);