定制 ycloudyusa/y_lb 二次开发

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

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

ycloudyusa/y_lb

最新稳定版本:5.0.1

Composer 安装命令:

composer require ycloudyusa/y_lb

包简介

Adds Layout Builder to Web Services project.

README 文档

README

Layout Builder for YMCA Website Services distribution

Y Styles

Y Styles allows site administrators to configure global design settings (color scheme, border radius, etc.) for Layout Builder content types, and optionally allow editors to override these styles per-node.

Enable Y Styles per content type

To allow editors to customize Y Styles on individual nodes:

drush cset core.entity_view_display.node.[content_type].default third_party_settings.y_lb.allow_style true -y
drush cr

Replace [content_type] with your content type machine name (e.g., landing_page_lb, article_lb, lb_event).

Troubleshooting

If Y Styles panel is not appearing in Layout Builder when editing a node, verify that allow_style is enabled:

drush cget core.entity_view_display.node.[content_type].default third_party_settings.y_lb

Should show allow_style: true in the output.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2022-10-24