1. fafeman
  2. General
  3. Thursday, October 30 2014, 07:49 PM
Hi,

i have a user list menu item to all profiles. When the profiles are listed, only appears the data itself and not the names of the fields.

Thanks,

Fafeman
admin Accepted Answer
Admin
Hi,
To do this there are many ways, this is the simplest:
Create a HTML Delimiter field with these properties:
- hidden on profile
- hidden on registration
- hidden on edit profile
- in description put this:
Title of field: {user alias_of_field displayed}


{user alias_of_field displayed} this sintax become from our Content Plugin (docs at https://www.easy-profile.com/docs/26-plugin-content.html), now you will set to display HTML Delimiter field instead field in list view fields.

Another way is a template override:
Copy attached file into /templates/your_template_folder/html/com_jsn/list/ (create directories if not exists)
Attachments (1)
  1. more than a month ago
  2. General
  3. # 1
leesiusing Accepted Answer
Do not quite understand,
I opened a HTML Delimiter field with content :
Title of field: {user alias_of_field displayed}

and then display in list module then its ok?

I just see:
Title of field:
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
you need to replace "alias_of_field" with alias of field that you want to see.

This is our content plugin, see docs at https://www.easy-profile.com/docs/26-plugin-content.html
  1. more than a month ago
  2. General
  3. # 3
leesiusing Accepted Answer
now i understand, but
1. it doesn't display
2. so i have to create one delimiter for every field i have?
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
it doesn't display
Have you set to see HTML delimiter in User List?

so i have to create one delimiter for every field i have?
If you want to use this way yes for each field. But we recommend to use alternative way. Easy Profile is developed with Joomla MVC model, so you can override our template and add in User List the title of fields
  1. more than a month ago
  2. General
  3. # 5
leesiusing Accepted Answer
Easy Profile Support wrote:

it doesn't display
Have you set to see HTML delimiter in User List?

Yes. for example my field alias is called university then i type:

Title of field: {user univeristy displayed}

Right?


so i have to create one delimiter for every field i have?
If you want to use this way yes for each field. But we recommend to use alternative way. Easy Profile is developed with Joomla MVC model, so you can override our template and add in User List the title of fields


I also tried, but nothing happened.
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
try with this, tested and works ;)
Attachments (1)
  1. more than a month ago
  2. General
  3. # 7
leesiusing Accepted Answer
Anything i need to do after upload?
  1. more than a month ago
  2. General
  3. # 8
admin Accepted Answer
Admin
In general not, but if you have Joomla cache enabled try to clean.
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
otherwise, please post me your site details, you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. General
  3. # 10
leesiusing Accepted Answer
Still no response, please see
  1. more than a month ago
  2. General
  3. # 11
admin Accepted Answer
Admin
Strange seems all ok, try to put this file into /components/com_jsn/views/list/tmpl/

in this folder you will override file of our component, when you update Easy Profile this file will be overwritten and you need to copy again.
  1. more than a month ago
  2. General
  3. # 12
leesiusing Accepted Answer
same, i did, no change.
  1. more than a month ago
  2. General
  3. # 13
admin Accepted Answer
Admin
where is a link where you need to see Title field on user list?
  1. more than a month ago
  2. General
  3. # 14
admin Accepted Answer
Admin
There must have been some misunderstanding,

the code works, if I go to some Easy Profile->User List menu item (http://xxxxxxxxx/index.php/search-students) I see all field titles
Attachments (1)
  1. more than a month ago
  2. General
  3. # 15
admin Accepted Answer
Admin
Ok now I have understand...this override is for menu item, you need this for User list module.

Now it's late, tomorrow we will send you the code and instruction to do this ;)
  1. more than a month ago
  2. General
  3. # 16
leesiusing Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 17
leesiusing Accepted Answer
i found that it works on menu item, not on module
  1. more than a month ago
  2. General
  3. # 18
admin Accepted Answer
Admin
Hi,
to override User List module output copy attached (default.php) file into this folder: /templates/your-template-folder/html/mod_jsnusers/
Attachments (1)
  1. more than a month ago
  2. General
  3. # 19
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.