开发者

Create a View based on a SQL query in Drupal

Is there a way to create a View in Drupal based on a custom SQL query? I made the query to test my results and everything is fine, but don't wanna go through the whole process of trying to recreate the same via the View UI...

I need to generate it as a View t开发者_JS百科o use the exposed filters and be able to create different display modes, that's why I don't simply execute the command and display the results.

I found an old module called "Query-Based Views (Q-Views)" that would do the job, but it looks deprecated.

Thanks, Frank


One of ways: You can use Relationships. So write own query, add views support and attach to current views...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜