vlyalkobixal / bixallinks
Bixal Links 基础模块,用于添加基本内容类型和其他设置
v1.0.0
2024-08-30 11:30 UTC
Requires
- composer/installers: ^2.2
- drupal/address: ^2.0
- drupal/admin_toolbar: ^3.4
- drupal/allowed_formats: ^3.0
- drupal/better_exposed_filters: ^6.0
- drupal/content_moderation_notifications: ^3.5
- drupal/core: ^10
- drupal/crop: ^2.3
- drupal/entity_reference_revisions: ^1.11
- drupal/facets: ^3.0@beta
- drupal/field_group: ^3.4
- drupal/image_widget_crop: ^2.4
- drupal/inline_entity_form: ^3.0@RC
- drupal/media_library_edit: ^3.0
- drupal/migrate_plus: ^6.0
- drupal/migrate_source_csv: ^3.6
- drupal/migrate_tools: ^6.0
- drupal/paragraphs: ^1.17
- drupal/pathauto: ^1.12
- drupal/search_api: ^1.34
- drupal/search_api_solr: ^4.3
- drupal/smart_date: ^4.1
- drupal/themable_forms: ^1.0
- drupal/twig_field_value: ^2.0
- drupal/twig_tweak: ^3.3
- drupal/viewsreference: ^2.0@beta
README
入门指南
本模块适用于 Drupal 9 和 Drupal 10.x。请访问 https://github.com/vlyalkobixal/bixallinks 了解更多信息。
您可以通过安装 composer 来下载此模块。首先,将以下代码片段添加到您的 composer.json 文件中的 "repositories": [...
区域,或者如果您没有此区域,则创建一个。
{ "type": "package", "package": { "name": "vlyalkobixal/bixallinks", "version": "1.0.0", "type":"drupal-module", "source": { "url": "https://github.com/vlyalkobixal/bixallinks.git", "type": "git", "reference": "v1.0.0" } } }
例如,一旦您添加了上述代码,您的整个 repositories 块可能看起来像这样
"repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8" }, { "type": "composer", "url": "https://asset-packagist.org" }, { "type": "package", "package": { "name": "vlyalkobixal/bixallinks", "version": "1.0.0", "type":"drupal-module", "source": { "url": "https://github.com/vlyalkobixal/bixallinks.git", "type": "git", "reference": "v1.0.0" } } } ],
设置完成后,运行以下命令进行下载。
composer require vlyalkobixal/bixallinks
通过 composer 下载此模块后。首先,将 bixallinks composer.json require 部分的内文添加到您的项目根目录 composer.json 文件的 "require": {...
部分中。因此,当模块启用时,已安装的依赖项将自动启用。
"require": { "drupal/field_group": "^3.4", "drupal/crop": "^2.3", "drupal/image_widget_crop": "^2.4", "drupal/themable_forms": "^1.0", "drupal/media_library_edit": "^3.0", "drupal/entity_reference_revisions": "^1.11", "drupal/paragraphs": "^1.17", "drupal/admin_toolbar": "^3.4", "drupal/twig_tweak": "^3.3", "drupal/twig_field_value": "^2.0", "drupal/smart_date": "^4.1", "drupal/address": "^2.0", "drupal/inline_entity_form": "^3.0@RC", "drupal/pathauto": "^1.12", "drupal/allowed_formats": "^3.0", "drupal/search_api": "^1.34", "drupal/search_api_solr": "^4.3", "drupal/viewsreference": "^2.0@beta", "drupal/migrate_plus": "^6.0", "drupal/migrate_source_csv": "^3.6", "drupal/migrate_tools": "^6.0", "drupal/facets": "^3.0@beta", "drupal/better_exposed_filters": "^6.0" }
用法
- 您可以通过 drush 或 Drupal 管理界面启用此模块。
获取帮助
如果您需要帮助,请联系 Bixal Solutions Inc. 的 Vera Lyalko,邮箱为 vera.lyalko@bixal.com。
此模块包含各种子模块,以下是用 drush
/ lando drush
启用它们的顺序。
# Install default CTs # Install all dependencies drush en bixallinks # Add base taxonomy vocabularies (countries, regions, sectors, topics) drush en bixallinks_taxonomy # Import base taxonomy terms for the added vocabularies (countries, regions, sectors, topics) drush en bixallinks_terms_import # Add person content type (used in the event content type) drush en bixallinks_person # Add landon_page content type drush en bixallinks_landing_page # Add event content type drush en bixallinks_event # Add resource content type drush en bixallinks_resource # Install page content type drush en bixallinks_page # Install article content type drush en bixallinks_article # Install Solr configs and add Solr article/event/resource/main site search listings views drush en bixallinks_solr # Install and configure basic Solr listings views facets drush en bixallinks_solr2 # Install and configure basic content workflow and notifications drush en bixallinks_workflow # Only run the following command, # If content type needs to be deleted, drush bixallinks:deleteDefaultContentType [content type machine name here]