ryssbowh/craft-themes 问题修复 & 功能扩展

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

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

ryssbowh/craft-themes

最新稳定版本:4.2.15

Composer 安装命令:

composer require ryssbowh/craft-themes

包简介

Themes engine

README 文档

README

This is a theme engine for Craft CMS 4.0, it allows you to create themes that are reusable and extendable.

Themes are regular plugins, as such they can have their own settings, migrations etc, but now have a set of templates and assets that will inherit themselves, allowing for faster frontend development.

A rule system allows you to define which theme will be used for which site, language, view port or url path. Or a mix of those 4.

Make use of the built-in compiler to compile scss files or scss inlined in your templates. Scss will use inheritance too !

The pro version aims at taking control over how pages are displayed using an interface in the backend and a theme engine that is reusable, adaptable and easy to use.
Themes are regular Craft plugins, as such they can be shared on the store, installed from packagist or created by yourself. They can have settings and migrations and most importantly extend each other.
Craft backend is amazing but if you're not a developer making a frontend can be a bit daunting, the pro version should alleviate this by doing a lot of the work for you.

The lite version will allow you to :

  • Install themes from the store or any git repository (composer, github, local filesystem etc)
  • Define your own themes that can extend each other
  • Choose which theme will be used for which site, language, viewport or url path according to a set of rules.
  • Compile scss files

The Pro version will allow you to :

  • Define regions in your themes
  • Assign blocks to the themes regions
  • Define your own blocks
  • Define your own view modes for each entry types/category groups/global sets/tag groups/volumes/users layouts
  • Choose how your fields and assets are displayed on the front end depending on their view modes and options
  • Define your own fields and assets displayers
  • Use a templating cascading system that allows bespoke rendering
  • Eager load fields automatically
  • Use several caching layers for faster rendering

What it doesn't allow you to do :

  • Change the backend look and feel
  • Override plugins templates (unless specific case, see developers readme)

Consult the documentation for further details on how to use those features.

Requirements

  • Craft ^4.0
  • PHP 8.0 or over
  • PHP Intl extension

Testing

This plugin is unit tested with mysql 5.7, postgresql 12.8, Craft 4.0 and php 8.0/8.1.

Documentation

Roadmap/Ideas

  • Themes preferences not related to project config
  • Restricted version of blocks page for envs where admin changes are disabled
  • Improve displayer cache by not saving the ones that didn't change
  • Add a Theme tab to the debug bar
  • Add a project config tracked data version to warn when layouts need rebuilt

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2021-01-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固