irtam-modules/custom_group 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

irtam-modules/custom_group

Composer 安装命令:

composer require irtam-modules/custom_group

包简介

README 文档

README

Drupal Logo

Introduction

This module has the purpose of synchronizing two modules, namely the updated version of the group module and the domain group module. It comprises four significant elements:

  • The first component is a file called "GroupIdFromUrl.php", which contains a default argument for group contextual filter.
  • The second component is "GroupTitle.php", which includes an exposed group filter that allows for the group input box to be changed to a select list.
  • The third component "GroupService.php", provides several useful features related to groups, including the ability to retrieve the active group, get the group domain, and obtain related groups.
  • The fourth component "DomainGroupSettingsForm.php", Enable the ability to assign a default image for every content type within a specific group.

Default Argument

This Argument allow the retrieval of the ID of the active group from the present domain name.

Views filter

By using this custom filter, you can transform the input text into a selection list. Remember to activate the filter within the "hook_views_data_alter()" function.

Group Service

This service contains several useful methods for interacting with both groups and nodes.

  • getActiveGroup : This method enables the retrieval of the active group from the current host
  • getGroupDomain : This method enables the retrieval of domain name using the group id
  • getRelatedGroups : This method enables the retrieval of related groups to given node
  • getFirstRelatedGroupLabel : This method enables the retrieval of the first related groups label

Domain Group setting

This feature provides the ability to add a new tab to the group edit page, which allows customization of default content type images for each group Path "/group/{group}/Gdomain-settings"

If you have any questions, please feel free to contact me via email at ahmed.matri@sesame.com.tn

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2023-05-04