Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi!
Is it possible to sort nodes so that current user nodes come on top and then come nodes that are created by other users ordered by date?
Thanks,
Comments
Comment #1
Vaibhavi Soni CreditAttribution: Vaibhavi Soni at AddWeb Solution Pvt. Ltd. commentedPlease follow below steps:
1) Create a "Users" view with Entity Reference.
2) Create "Relationships" User: Profile.
3) With this relationship you will find your Profile field.
Let me know in you face any query/concern regarding this.
Thanks!
Comment #2
dshields CreditAttribution: dshields at OpenConcept Consulting Inc. commentedSimplest solution is to create a view of all nodes ordered by date. Then add a block to the header of the view that contains a second view filtering the current user's nodes. This gives plenty of flexibility.
Comment #3
renatogHi people.
Thank you all.
#2 works good for me.
Thank you very much.
Comment #4
renatogMarek,
Please follow this steps and if have a question comment, all right?
Thank you very much.
Regards.