Support

  1. davidunwin
  2. Support
  3. Wednesday, January 24 2018, 08:25 AM
We want to display a list of a number of our registered users (one of our teams)
However, we don't want people to be able to click on the link (name) to see their profile details.
Is it possible to disable the link that shows the profile (see screen shots)?
Attachments (2)
Accepted Answer
admin Accepted Answer
Admin
Hi,
found the problem, my override works in User List menu item (not module).

Now I have created an override also for modules by creating file in /templates/your-template-folder/html/mod_jsnusers/default.php (this file is based to /modules/mod_jsnusers/tmpl/default.php)

Please try to see if now all works as expected ;)
  1. more than a month ago
  2. Support
  3. # Permalink
admin Accepted Answer
Admin
Hi,
yes this is possible, but require a template override, follow these steps:
- Copy file from /components/com_jsn/views/list/tmpl/default_user.php to /templates/your-template-folder/html/com_jsn/list/default_user.php
- Open new file
- Delete link tags (line 38 and line 40)
  1. more than a month ago
  2. Support
  3. # 1
davidunwin Accepted Answer
I tried what you suggested, but no change.
Here is a screen shot of where I place the code and a txt version of the code.
Have I done something wrong??
Thanks
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi, you should remove line 38 and line 40, you have removed lines 37,38,39,40 and 41.
Basically you should remove only HTML a tag:
<a href="/<?php echo $this->user->getLink(array('back'=>1,'Itemid'=>$this->params->def('profile_menuid', ''))); ?>">
</a>


Now should see User List without name.
  1. more than a month ago
  2. Support
  3. # 3
davidunwin Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
can you please post me a backend access to check this? if yes then you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. Support
  3. # 5
davidunwin Accepted Answer
Here they are
  1. more than a month ago
  2. Support
  3. # 6
davidunwin Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.