Is there a way to add more than 6 columns in the user list menu item?
Thanks.
echo('<th>Interests</th>');
<td>
<?php echo $this->user->getField('interests',true); ?>
</td>
if ( JRequest::getVar( 'Itemid' ) == 201 ) {
echo('<th>Field A title</th>');
echo('<th>Field B title</th>');
}
if ( JRequest::getVar( 'Itemid' ) == 202 ) {
echo('<th>Field C title</th>');
echo('<th>Field D title</th>');
}
<?php if ( JRequest::getVar( 'Itemid' ) == 201 ) : ?>
<td>
<?php echo $this->user->getField('fieldA',true); ?>
</td>
<td>
<?php echo $this->user->getField('fieldB',true); ?>
</td>
<?php endif; ?>
<?php if ( JRequest::getVar( 'Itemid' ) == 202 ) : ?>
<td>
<?php echo $this->user->getField('fieldC',true); ?>
</td>
<td>
<?php echo $this->user->getField('fieldD',true); ?>
</td>
<?php endif; ?>