1. peacetree
  2. General
  3. Tuesday, June 24 2014, 10:31 AM
I tried to set up the module to display user but the resut is very different to my userlists. Is there a way to show a specific user list with the content plugin? I want to teaser my homepage with the specific selection of users but after login they must disapear (guest).

Thank you ones again...
admin Accepted Answer
Admin
Yes, you can create a Custom HTML module (with "Prepare Content" parameter on yes) and insert something like this:
<a href="/profile.html">
<div class="usercustom"><div class="avatar">{user avatar_mini 341}</div><div class="name">{user name 341}</div></div>
</a>
<a href="/profile.html">
<div class="usercustom"><div class="avatar">{user avatar_mini 352}</div><div class="name">{user name 352}</div></div>
</a>
<a href="/profile.html">
<div class="usercustom"><div class="avatar">{user avatar_mini 390}</div><div class="name">{user name 390}</div></div>
</a>


But I suggest you to use template override for module, with template override you can create many styles for a module.
For overriding module template copy and edit the file /modules/mod_jsnusers/tmpl/default.php to /templates/your_template_folder/html/mod_jsnusers/default.php.

You can assign another name to file (example /templates/your_template_folder/html/mod_jsnusers/newstyle.php) and choose this from module parameter "alternative layout" on advanced tab (see screenshot)
Attachments (1)
  1. more than a month ago
  2. General
  3. # 1
  • 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.