Drupal: Sorting a view programmatically
Posted
by Ace
on Stack Overflow
See other posts from Stack Overflow
or by Ace
Published on 2010-03-18T16:04:57Z
Indexed on
2010/03/19
0:01 UTC
Read the original article
Hit count: 487
Hey there. I'm trying to take the results of a view - using the function views_get_view_result() - and sort the array in a way I couldn't do from within the Views interface. So far so good. I've got a $rows variable with all of the stuff I need.
Now... How do I put it back? :) Before I needed this sort, I used views_embed_view(), but I can't do that anymore.
Grateful for any help on this, feels like I'm so close to cracking it!
© Stack Overflow or respective owner