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:
parent
2c6b1599f7
commit
31fd580a7b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user