no, custom field does not support my needs.
something like this using a code but does not show up in Joomla 5
if ($user->id) {
$db =JFactory::getDBO();
$query = $db->getQuery(true);
$query->select('*')
->from('#__user_notes')
->where('user_id = '. (int)$user->id)
->where('state=1');
$db->setQuery($query);
$rows = $db->loadObjectList();
print_r($rows[0]->body);
}
something like this using a code but does not show up in Joomla 5
if ($user->id) {
$db =JFactory::getDBO();
$query = $db->getQuery(true);
$query->select('*')
->from('#__user_notes')
->where('user_id = '. (int)$user->id)
->where('state=1');
$db->setQuery($query);
$rows = $db->loadObjectList();
print_r($rows[0]->body);
}
Statistics: Posted by wejom21 — Tue Aug 27, 2024 5:45 am