0

I have a custom database table my_apps.

This table has nid and uid columns.

I have created a view, which is displaying some nodes. I want to sort this view from that custom table.

Like ORDER BY COUNT(uid from my_apps) where nid={nid from my_apps}

Is this possible?

I tried this module Views custom table but then you have to create the view based on that table instead of a content view. And I don't want that.

2
  • Probably to create a custom field for views (you can create your own field to be used within views). Have a google for that, there are lots of examples out there Jan 27 at 10:09
  • Can you share a link please?
    – Ahmad
    Jan 30 at 6:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.