amazeelabs/silverback_campaign_urls 问题修复 & 功能扩展

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

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

amazeelabs/silverback_campaign_urls

最新稳定版本:1.0.9

Composer 安装命令:

composer require amazeelabs/silverback_campaign_urls

包简介

Allows creating campaign url entities that can be afterwards exposed via graphql, as redirects.

README 文档

README

The Silverback campaign urls module allows the Drupal admins to create campaign urls. These are basically redirects that have no restriction for the source and the destination fields, meaning that the admin can input any kind of strings into them.

These campaign urls are stored as Drupal entities, and they can be retrieved using graphql in a Gatsby app for example. An example can be found in the silverback-gatsby app (check the gatsby-node.ts file).

The endpoint to administer these redirects is /admin/config/search/campaign_url

Gatsby integration

The modules contains a schema extension plugin that can be enabled on the GraphQL server. This schema extension contains a new GraphQL type called CampaignUrl which will be added to the schema when the extension is enabled on the GraphQL server. When this is done, the gatsby-source-silverback npm package will fetch these entities and create redirects for them.

Usually, in the Gatsby app, there should be an integaration with a sepcific hosting provider, like gatsby-plugin-netlify for netlify which should create the redirects in a specific file and format.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2023-06-14