Hi, We're working with Clearspace 2.5.2.
This is a feature request for a list view option when browsing People. The "photo" view in 2.5.2 is great if you have photos uploaded, but we'd like users to be able to choose for themselves whether they want to see their results this way, or in a list view.
The list view (below taken from 1.10.8) provides easy access to key information that people need: username, email address, ability to show profile details. I would argue that the photo view is not intuitive if you are looking for this information (there's no indication that hovering over the avatar will show the email address; plus username isn't shown).
This view is still available in 2.5.x when using the "Pick Users" tool; we'd like to see it as an option in the People area as well. For example, we're all used to Windows giving us the option of a list view or icons for our files. It would be great to have the same type of thing in Clearspace (and it would be fairly intuitive). It should also be very easy to set the default, without altering the .ftl templates. ![]()
Thanks again!
Jeff
Jeff, thanks so much for the description and images, they helped a great deal in explaining feature request. I went ahead and filed a feature request for this: CS-9474
I am 100% on board with this request, look forward to seeing it in a future release of Clearspace
Thanks, let me know if there's anything else I can add to this ticket,
~Long
I'll add my support for a view like this - it'd help a lot!!!
In addition - it would be great if this new view could be customized - so that we could choose what fields are shown in the list -- and also so that we could sort the list based on those fields.
Alternatively - how hard would it be for me to write a new view? It seems that the people page already has the idea of different filters/views... how would I go about defining a new one?
I started looking at the /template/global/people.ftl file, and some of the CSS code that defines how people are displayed - and I'm thinking that it may be possible to hack the CSS and .ftl to get a list-view that's reasonably good. It won't have any bells and whistles, but whatever.
The main questions I have are:
- how can i adjust the number of items that are displayed in the result. This seems to be something to do with Paginator -- but I'm not sure how to change it.
- how can I set the default sort to be by first name (or last name) -- rather than date joined?
Thanks,
david,
(using clearspace 2.5.3)
David,
You'll want to take a look at the PeopleAction.java, which is the action that the people.ftl is mapped to.
- how can i adjust the number of items that are displayed in the result. This seems to be something to do with Paginator -- but I'm not sure how to change it.
Set the following system property: people.search.pagesize = XX, where XX is an the number of people displayed per page (default is 12).
- how can I set the default sort to be by first name (or last name) -- rather than date joined?
Looks like the following system property controls the default view: people.search.view.default = YYYY, where Y is the various types of sort (alphabetical, newest (default), status, etc)
~Long
I don't think we have the source... not totally sure. What would be the path on the server for the java file?
Sorry if this is becoming more of a tutorial-style question than I intended...
I'm not a Java programmer -- but was hoping that by looking at the Java code I could find the exact valuesI can set the people.search.view.default variable.
david,
Hey David,
No problem, these are valid questions.
Unfortunately the source files aren't on the server, they're compiled Java files that you won't be able to extract info from. You'll need to download the source build @ jivesoftware.com > my accounts > purchases to access the source code.
Regarding the people.search.view.default values, these are the ones defined in this class:
public static final String VIEW_ALPHA = "alphabetical";
public static final String VIEW_NEWEST = "newest";
public static final String VIEW_STATUS = "status";
public static final String VIEW_ONLINE = "online";
public static final String VIEW_SEARCH = "search";
These were recently introduced, so it's possible that they aren't working as intended. Let me know if you're seeing a behavior that you believe is wrong.
~Long
Setting the property does yield some results...
newest: sets the sort menu to "date joined"
online: adds a filter for "online" and hides the sort menu.
but...
alphabetical: sets the sort menu to "relevance"
So - some sort-of work, others don't...
I'm using an older version of Clearspace... 2.5.2... so maybe this has been updated in later versions?
David,
You're correct, doesn't look like setting it to "alphabetical" (Default sort by: name) is behaving incorrectly. I went ahead and filed a bug report and resolved the issue: CS-11123, it's needs to be reviewed and tested ... but it's currently scheduled to be fixed in 2.5.8.
Hope this clears things up,
~Long
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us