Comment out '->_dispatcher->trigger(onContentPrepare, array('com_demo.looking.description', &, &, 0))', to be able to display the detail view of an item

This commit is contained in:
Oh Martin 2021-10-16 10:32:22 +02:00
parent 2c6b1599f7
commit 31fd580a7b
Signed by untrusted user: Oh Martin
GPG Key ID: F91C6D0A21225F8A
1 changed files with 1 additions and 1 deletions

View File

@ -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);