1. messagedj
  2. Features Request
  3. Tuesday, March 24 2015, 11:38 AM
we need a module that shows the profile images and names in random order.

is that possible?
Accepted Answer
admin Accepted Answer
Admin
You have two alternative:

1. Manage this with CSS (if you send me your site link we can help you with CSS code to add)

2. Create your template override for this module by copying file /modules/mod_jsnusers/tmpl/default.php into /templates/your-template-folder/html/mod_jsnusers/default.php and make your changes*

*You can also copy this file into /templates/your-template-folder/html/mod_jsnusers/your_layout_name.php and set to use this layout from Advanced->Alternative Layout in module parameters
  1. more than a month ago
  2. Features Request
  3. # Permalink
admin Accepted Answer
Admin
Hi,
you can use "Easy Profile - User List" module and set "random" order
Attachments (1)
  1. more than a month ago
  2. Features Request
  3. # 1
messagedj Accepted Answer
thnx, but i was incomplete in my question.

the list should be horizontal, an show the image above the name. and we would like to change the image size
  1. more than a month ago
  2. Features Request
  3. # 2
messagedj Accepted Answer
Your solution did the trick, just a small question though,

The code is asking for avatar_mini. That is a burry photo, how to change that to the bigger version?
  1. more than a month ago
  2. Features Request
  3. # 3
admin Accepted Answer
Admin
Hi,
you can use {user avatar} docs at https://easy-profile.com/docs/26-plugin-content.html

for each image field you can load {user image_avatar_alias} or {user image_avatar_alias_mini}
  1. more than a month ago
  2. Features Request
  3. # 4
messagedj Accepted Answer
but how to change this code to get the bigger one?

		<div class="span<?php echo $span ?> col-lg-<?php echo $span ?> jsn_listprofile">
<?php if($jsnConfig->get('avatar',1)) : ?>
<a href="/<?php echo JRoute::_('index.php?option=com_jsn&view=profile&id='.$user->id); ?>">
<?php echo $user->getField('avatar_mini'); ?>
</a>
<?php endif; ?>
  1. more than a month ago
  2. Features Request
  3. # 5
admin Accepted Answer
Admin
ah sorry,
replace
$user->getField('avatar_mini');

with
$user->getField('avatar');
  1. more than a month ago
  2. Features Request
  3. # 6
  • 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.