简体   繁体   English

关于Drupal的初学者问题

[英]Beginner question on Drupal

I am new to PHP and am doing some research on Drupal system to set up a website for my church. 我是PHP新手,正在对Drupal系统进行一些研究,以便为我的教堂建立一个网站。 Just want to know how to development a module on a page that display a list of articles? 只想知道如何在显示文章列表的页面上开发模块? eg. 例如。 display the article by category or tag etc. 按类别或标签等显示文章

Is there any template I can use or I will need to develop the template myself? 我可以使用任何模板,还是需要自己开发模板?

Thanks in advance! 提前致谢!

Chris 克里斯

Check out the views module . 检查视图模块 It lets you define your own rules for viewing articles (or other content types), by tag, category, or any arbitrary conditions you can think of. 它使您可以定义自己的规则,以按标签,类别或您能想到的任何条件查看文章(或其他内容类型)。

作为对@DanSingerman的补充,好的答案对于类别和标签,您应该查看分类法SimpleView ,以便在构建视图时获得一些不太高级的用户界面。

If you're only displaying articles, you should go with Wordpress. 如果仅显示文章,则应使用Wordpress。 Most Drupalistas would probably recommend Wordpress over Drupal for this usage. 对于这种用法,大多数Drupalistas可能会建议使用Wordpress而不是Drupal。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM