Linux 软件免费装

Scout Units List

开发者 duzymaju
更新时间 2018年12月31日 08:49
PHP版本: 3.0.0 及以上
WordPress版本: 5.0
版权: GNU GPLv2
版权网址: 版权信息

标签

scouts zhp zhr wosm wagggs

下载

0.1.0 0.1.1 0.2.0 0.2.1 0.3.0 0.3.1 0.5.0 0.4.0 0.4.1 0.4.2 0.4.3 0.5.1 0.5.2 0.5.3 0.6.0

详情介绍:

This plugin allows you to create a structure of units which are dependent on main one and then present it inside page or post using variety of shortcodes equipped with customizable templates. Showing units list Add [sul-units-list id="X"] shortcode, where X is an ID of a base unit. You can use also other attributes: To define your own template create scout-units-list directory in your current theme directory (or define other directory in configuration form) and then create there UnitsList.phtml, UnitsList-Y.phtml or UnitsList-X.phtml file where Y is a type and X is an ID of a base unit. To customize template of dependent units level you have to create in the same location UnitsListLevel.phtml, UnitsListLevel-Y.phtml or UnitsListLevel-X.phtml file as well. To know how to access units data please check default templates in View/Shortcodes directory. Showing persons list Add [sul-persons-list id="X"] shortcode, where X is an ID of a base unit. You can use also other attributes: To define your own template create scout-units-list directory in your current theme directory (or define other directory in configuration form) and then create there PersonsList.phtml, PersonsList-Y.phtml or PersonsList-X.phtml file where Y is a type and X is an ID of a base unit. To know how to access units data please check default template in View/Shortcodes directory. Things to do before stable version release
  1. Add a shortcode which implements a map with selected units marked on it.
  2. Configurable types/subtypes lists and dependencies.
Future plans
  1. Add for each unit a list of changes (versions).
  2. Add for each user a list of position changes (versions).
  3. Sorting/searching on units/positions lists in admin panel.

安装:

  1. Upload plugin files to the "/wp-content/plugins/scout-units-list" directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. That's all - plugin is fully operational.

更新日志:

0.1 The first version of plugin. 0.2 Add migrations. Integrate with orders added into database as posts (configurable post category). Add versioning of units and persons. 0.3 Improve shortcodes for units/persons. Add API. 0.4 Add multiple order categories. 0.5 Upgrade shortcodes and persons. Add persons sorting. Add possibility to show structure from external source. Add custom user photos. 0.6 Move responsibilities from user to position.