10 years ago
2
Topic
Hi all,
apearently i can't get value from DB from custom location.

I've created an SD concat field to store concatenated data in CUSTOM->FREE->USER_FULLNAME storage in DB table #__users
I've also added the column by "Alter". Object = User in my form.

As far as SD field does not render itself, i've created another (text) field with same storage to check DB values from admin panel.
What do I wrong? because I don't see the value from DB from the second (text) field?





Get a VIP membership
693 Posts
rpoy
10 years ago
0
Level 1
Hi!

Have you tried using Standard storage instead of Custom?  Generally the Custom option is used for GroupX and FieldX type fields.  A better explanation can be found here on the tutorial on storage? 

Hope that helps,

Randy

10 years ago
0
Level 1
i've tried with core 42
$db = JFactory::getDbo();
$query  = $db->getQuery(true);
$query->select('user_fullname');
$query->from('#__users');
$db->setQuery($query);
$value = $db->loadResult();
doesn't work... Maybe i have to lookt at another plugin in store?
Get a Book for SEBLOD