开发者

Drupal default views versus Views contrib module

开发者 https://www.devze.com 2023-01-28 09:47 出处:网络
Drupal has some built in views that work without Views contrib module. We even can not manage or alter them. frontpage and taxonomy_term are two examples of such views. They are known as default views

Drupal has some built in views that work without Views contrib module. We even can not manage or alter them. frontpage and taxonomy_term are two examples of such views. They are known as default views.

How can we generate our own views via module development?

My other question is about Views contrib module.

How views module enhan开发者_开发技巧ces drupal's capabilities about views?


Built-in list pages in Drupal (like the one listing all nodes) are strictly speaking not "views", because they are not powered by the Views module. After installing the Views module, you can replace the built-in list pages with your own views or add custom views for administrative tasks.

If you download version 3 (in alpha at the moment) of the admin_menu module you will also get the admin_views module, which can replace all built-in lists with 'real' views.

If you want to learn how to include a default view in your module, see this blog post.

0

精彩评论

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