"Organic groups轻松打造Drupal小组Organic groups使用全过程"
Published on Aug. 22, 2023, 12:06 p.m.
如今的web2.0浪潮实在令人心动,drupal具有强大的web2.0的特性,今天Napoler就和大家一起来分享下使用drupal Organic groups打造在线小组.
首先我们当然是需要到官网下载Organic groups模块,之后放到sites\all\modules目录下,然后到后台admin/build/modules下启用
Organic groups6.x-2.1 Enable users to create and manage groups. OG Views integration module is recommended for best experience.Required by: Organic groups access control (enabled), Organic groups actions (enabled), Organic Groups Notifications (disabled), Organic groups Views integration (disabled)Organic groups access control6.x-2.1 Enable access control for private posts and private groups.Depends on: Organic groups (enabled)Organic groups actions6.x-2.1 Provides actions for use with Organic Groups and Trigger.Depends on: Organic groups (enabled)Organic Groups Notifications6.x-2.1 Allows users to receive notifications and subscribe to group content.Depends on: Organic groups (enabled), Notifications (missing), Notifications_content (missing), Notifications_lite (missing), Messaging (missing), Token (disabled)Organic groups Views integration6.x-2.1 Highly recommended.. Use Views to search and display organic groups.Depends on: Organic groups (enabled), Views (disabled)
Napoler只安装了基本的几个模块,保存后.
接下来到admin/content/types创建一个新的内容类型,用来创建小组
Organic groupsOrganic groups usage:Group node(小组节点)May not be posted into a group.(不发表到小组)Standard group post (typically only author may edit).(标准小组内容(只能作者可以编辑))Wiki group post (any group member may edit).(维基小组内容(任何人可以使用))Specify how organic groups should treat nodes of this type. Nodes may behave as a group, as group posts, or may not participate in organic groups at all.Group limit:If the usage is standard group post, specify the number of groups the nodes of this type may be posted into. Leave blank for no limit.
ok,Napoler这里选择的是小组节点.就是用来创建小组.其他的选项我已经给注释出了相关的含义.除了创建一个内容类型外,其他的内容类型你可以设置为第二或低四个这样,这种类型的文章就可以发布到小组里了.
好了,基本的小组功能已经有了,其他的视图功能,以后Napoler会继续分享的.