定制 umd_digital/umd_schoolwide_header 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

umd_digital/umd_schoolwide_header

Composer 安装命令:

composer require umd_digital/umd_schoolwide_header

包简介

Provides a simple interface for adding the UMD Schoolwide Header to Drupal sites in the University of Maryland system.

README 文档

README

Introduction

Provides a simple interface for adding the UMD Schoolwide Header to Drupal sites in the University of Maryland system, following the approved University Header Guidelines as defined by the Maryland Brand.

This module was created by idfive for the University of Maryland.

Version

Please use the latest release for your version of drupal from the releases page, or simply use composer to manage.

Installation

Install as usual, see installing modules for further information.

This module can also be added to projects via composer, then enabled via drush, with something similar to the following:

  • composer require umd_digital/umd_schoolwide_header
  • drush en umd_schoolwide_header or enable via admin UI

Configuration

UMD Design Library

This module has been coded to attach the full UMD design library to themes other than "UMD Terp". UMD Terp theme already loads this library, so it it is undesireable to load it twice. If a theme other than 11x or greater of umd_terp is used, understand that you will be loading an additional external library.

Updating to 11x

  • The module previously relied on an embed code generated by the older version of the UMD header generator.
  • There were customizations present in code to hide/show specific links.
  • We have retained this code under "legacy" settings if they need to be referenced, however, all configuration options desired to the header will need to be set on the configuration page of this module. This legacy code is only retained for reference, and will be removed in subsequent updates.
  • When updating to 11x, sites will simply get the full header with all links, if no configuration are chosen.

Possible Configuration Adjustments

  • Hide the Events link
  • Hide the News link
  • Hide the Admissions link
  • Hide the Make a Gift link
  • Hide Search

Troubleshooting

  • Legacy embed script has been kept, under "Depreciated", to assist in troubleshooting or checking previous settings.
  • Check for JS errors in console, and be sure to clear site caches.
  • Check for CSS conflicts with your theme.

Development

Update UMD Design System

Any site that uses the umd_terp theme, will load its own JS via that theme, and thus not use the file here. This file is only for custom themes, or other use cases, that need the UMD Design system loaded.

  • cd umd_brand_static
  • nvm use, to standardize NPM in use.
  • npm update, to get a newer version of the UMD Header JS package.
  • npm run build, to rebuild the JS file needed for non umd_terp themes.

umd_digital/umd_schoolwide_header 适用场景与选型建议

umd_digital/umd_schoolwide_header 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 42.13k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 11 月 21 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「drupal」 「UMD.EDU」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 umd_digital/umd_schoolwide_header 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 umd_digital/umd_schoolwide_header 我们能提供哪些服务?
定制开发 / 二次开发

基于 umd_digital/umd_schoolwide_header 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2019-11-21