Integrating ExtendedReg Custom Fields to "LatestUsers" modul - Joomla! Forum - community, help and support


see http://www.uscgshipmates.com/index.php/ ... egory/list have accomplished far.

background...

i installed jvitals extendedreg package along extendedpages. works, isn't easy , things believe should there aren't. 1 of them ability define , display custom fields in joomla! latestuser module. see on example, able go default.php of module , change users echo name, more appropriate application. see in helper.php file 3 resident fields defined; name, username, , registerdate -

$db = jfactory::getdbo();
$query = $db->getquery(true);
$query->select('a.id, a.name, a.username, a.registerdate');
$query->order('a.registerdate desc');
$query->from('#__users a');

and call code print browser -

<li>
<?php echo $name->name; ?>
</li>

here question(s) , hope php geek can give me simple answer. want include 1 of extendedreg custom fields in output. known cf__cgrankrate

how i

1. call field select array?
2. have else in echo statement other put there cf_cgrankrate ?

i many not explaining properly, i'm totally ignorant php. got 1,000 page manual, shakespeare wrote, "i know not, twas greek..."

thanks






Comments