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_headerdrush en umd_schoolwide_headeror enable via admin UI
Configuration
- Make any desired adjustments on the config page.
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_staticnvm 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 nonumd_terpthemes.
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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 umd_digital/umd_schoolwide_header 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
UMD Terp Base is the base module for all UMD drupal projects.
UMD Terp is the base theme for all UMD drupal projects.
Provides an add-on purchasable entity.
Drupal integration module for the Kalastatic prototyping and styleguide tool
Provides a base set of configuration and module dependencies for starting new Drupal projects.
This module extends Drupal Migrate framework.
统计信息
- 总下载量: 42.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 15
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2019-11-21