More info to search users results table addon

Discussion in 'Customization & add-ons' started by mav2u, Oct 14, 2009.

  1. mav2u

    mav2u New Member

    Joined:
    Oct 8, 2008
    Messages:
    31
    Is there a way to add another table column to the search users output display? We wish to have a custom field from amember to show in the results of your search.

    Currently amember only shows these table columns:
    Login Name Email Payments Status Actions

    We would like to insert our custom field we added in here.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can do this in /amember/templates/admin/user_search_res.html template.
    You can use this smarty var for custom field:
    {$u.fieldname} if field type is SQL
    {$u.data.fieldname} if field type is common
  3. mav2u

    mav2u New Member

    Joined:
    Oct 8, 2008
    Messages:
    31
    Yep, found it and worked like a charm. Thanks.

Share This Page