Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • mixx Friend
    #162103

    We’d like to post the Contact’s Position First and then their Name. Please advise.

    Thanks

    jw

    thangnn1510 Friend
    #384363

    To post the Contact’s Position First and then their Name please do the following:

    – Create folder templatesja_polluxhtmlcom_contactcategory

    – Copy default.php, default_items.php from componentscom_contactviewscategorytmpl to templatesja_polluxhtmlcom_contactcategory

    – Open templatesja_polluxhtmlcom_contactcategorydefault.php and move this code from line 67:

    <?php if ( $this->params->get( 'show_position' ) ) : ?>
    <td height="20" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
    <?php echo JHTML::_('grid.sort', 'Position', 'cd.con_position', $this->lists['order_Dir'], $this->lists['order'] ); ?>
    </td>
    <?php endif; ?>

    to line 64.

    – Open templatesja_polluxhtmlcom_contactcategorydefault_items.php and move this code from line 14:

    <?php if ( $this->params->get( 'show_position' ) ) : ?>
    <td>
    <?php echo $this->escape($item->con_position); ?>
    </td>
    <?php endif; ?>

    to line 10.

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  thangnn1510 13 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum