homm/hommwarehouse 问题修复 & 功能扩展

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

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

homm/hommwarehouse

最新稳定版本:1.0.5

Composer 安装命令:

composer require homm/hommwarehouse

包简介

Craft CMS warehouse field

README 文档

README

Craft CMS warehouse field type

This plugin adds a new warehouse field type

Screenshot

Requirements

This plugin requires Craft CMS 4.x.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require homm/hommwarehouse
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for HOMM warehouse.

HOMM warehouse Overview

This plugin adds a new warehouse field type

Configuring HOMM warehouse

Go to Settings > HOMM Warehouse:

Here you can set if the plugin should be enabled/disabled.

Using HOMM warehouse (not done yet)

  1. Go to Settings > Fields and create a new field.
  2. Within the Field Type choose HOMM warehouse
  3. Assign the field to a section
  4. Now you can set an amount within your entries warehouse field

Basic usage in the template (Twig):

<!-- Retrieve the stock -->
<span>{{ entry.warehouseField.stock }}</span>

<!-- Retrieve the date on which the stock was last changed -->
<span>{{ entry.warehouseField.updatedAt }}</span>

HOMM warehouse Roadmap

Some things to do, and ideas for potential features:

  • Add twig variables

Brought to you by HOMM interactive

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固