May some one tell me how could I sort my cck filed in view?
should I use Views modules? if so how?
I am working with drupal and I quite knew the structure but I don't have any idea how could I use views to sort or display the cck information?
Hope someone could help me.
Comments
Comment #1
yched commentedYes, CCK fields are available in Views to be displayed, filtered and sorted on.
It is not clear what you mean exactly by "sort my cck field in view".
If it is : display a list of nodes ordered by the value of a given CCK field, yep, Views will do that for you
If it is : reorder the values inside a given CCK multiple field, no this is outside the scope of Views (and CCK currently doesn't allow that)
Comment #2
holydrupal commentedThanks for your reply
"display a list of nodes ordered by the value of a given CCK field" was what I meant.
May you please demonstrate an example of this trick? I have been install the view module I couldn't get it! I couldn't understand how views module works with CCK :(
May you help me? with some instruction or an example that I could understand?
I am not new in drupal, I just couldn't understand views module integration with cck
Thanks in advance
Comment #3
yched commentedWhen defining / editing your view, in the 'Sorts' section (last one), you can add sorting on a given piece of data. Amongst the options proposed in the select box, you should find all your cck-defined fields (if you're not, something's wrong with your install :-)
Comment #4
holydrupal commentedThanks for your reply.
I will test your instruction and I will post the result.
Thanks a lot :)
Comment #5
karens commented