solved Templete for Profiles

Isleander
Isleander
@isleander
7 years ago
545 posts
Just wondering which is the correct template for the "Profiles" (Ninja), as I would like to change the spacing.
updated by @isleander: 12/22/17 02:42:30AM
paul
@paul
7 years ago
4,325 posts
That would normally be the jrProfile module item_list.tpl template but the Ninja skin over-rides it, so its the jrProfile_item_list.tpl template in the Ninja skin folder.
hth


--
Paul Asher - JR Developer and System Import Specialist
Isleander
Isleander
@isleander
7 years ago
545 posts
paul:
That would normally be the jrProfile module item_list.tpl template but the Ninja skin over-rides it, so its the jrProfile_item_list.tpl template in the Ninja skin folder.
hth

Thank you Paul,
I've managed to make the images smaller by changing the columns, but don't seem to be able to re-align them so as to fill all the page area (please see image). What part of the code should I change in order to I get them to realign?
paul
@paul
7 years ago
4,325 posts
Am a bit confused as the images in the top post and your last one seem to be the same.
What exactly are you trying to achieve?
Thanks


--
Paul Asher - JR Developer and System Import Specialist
Isleander
Isleander
@isleander
7 years ago
545 posts
Basically Paul, I'd like to fill up any empty space... not sure why there would be two empty spaces in the last row.
paul
@paul
7 years ago
4,325 posts
Ahh - With you.
The Ninja jrProfile_item_list template is designed to show 12 profile images but the template that is calling it is the jrProfile module's index.tpl template and by default, that is set to a pagebreak of 10.
Edit that module template setting its pagebreak value to 12 -

{jrCore_list module="jrProfile" order_by="_item_id desc" pagebreak="12" page=$_post.p pager=true}

hth


--
Paul Asher - JR Developer and System Import Specialist
Isleander
Isleander
@isleander
7 years ago
545 posts
Thank you Paul, I worked it out in the end... yes that's done the trick.