Plugin / Scout Units List

Wiktor Maj

Description

Description

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:

  • class (string) – allows to add CSS class,
  • current (boolean, false as a default value) – allows to show/hide current unit on a list,
  • external (boolean, false as a default value) – decides if structure should be receive from external source (if so, external source URL in configuration should be defined),
  • levels (integer, 1 as a default value) – allows to define number of levels with dependent units,
  • types (empty as a default value) – allows to define list of types (separated by comma) which have to be showed.

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:

  • class (string) – allows to add CSS class,
  • external (boolean, false as a default value) – decides if structure should be receive from external source (if so, external source URL in configuration should be defined).

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.

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

0.6.0

First Released

13 Sep, 2016

Total Downloads

451

Wordpress Version

3.0.0 or higher

Tested up to:

5.0.7

Require PHP Version:

-

Tags

There is no tag found

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.