Using mysite I have created three basic blocks on my homepage, all filled with posts of a certain type:

- Website Pages (type = page)
- Blog Posts (type = blog)
- Side Notes (type = note, created myself)

Is there a sort order for the elements (posts) within each item (block)?
And is it possible to manipulate the sort order (date, weight, etc)?

Thanks,
Marc

Comments

Marc Bijl’s picture

Hmm,
it seems the sort order is "last modified on top".

So then remains:
Is it possible to manipulate the sort order?

agentrickard’s picture

Status: Active » Closed (works as designed)

There is generally no way to modify the sort order without altering the code.

This is a design decision.

It is possible, in theory, to allow users to set options for sorting each element. That would be a feature request.

agentrickard’s picture

On the other hand, if you use Views, you can create Views that are sorted however you wish, and then load those Views into MySite.

Marc Bijl’s picture

Good one, thanks!

I'll try views and see how it works ;)

Cheers,
Marc (from NL ;)

Marc Bijl’s picture

Title: How to order elements within item » (Mysite) Extra option to order elements of a group
Category: support » feature
Status: Closed (works as designed) » Active

Hi Ken,

As I prefer (that is: love) to use the standard features of Mysite module, I thought: let's make it a feature request.
In my opinion, it would be nice to give users at least the option to order elements by submission date.

So, would be great if you see some chance to add this functionality.

I'll dive into the code and do my best, but as I'm not a programmer... We'll see ;)

Thanks in advance.
CU, Marc

agentrickard’s picture

Version: 5.x-2.15 » master
Component: Documentation » User interface

Filing as a feature request against HEAD. This is, to me, low priority but nice to have.

Marc Bijl’s picture

Ok, thanks a lot.

agentrickard’s picture

Status: Active » Closed (won't fix)