rah/rah_wrach

Textpattern CMS plugin for selecting article section

Fund package maintenance!
www.paypal.me/jukkasvahn

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 2

Open Issues: 0

Type:textpattern-plugin

0.4.1 2022-04-15 00:19 UTC

This package is auto-updated.

Last update: 2024-11-15 21:18:43 UTC


README

Download | Packagist | Donate

Rah_wrach adds an extra step to the Textpattern CMS article publishing process. The plugin presents a prompt and makes site authors pick the section before going to the actual editor present on the Write panel. The extra step will hopefully increase the change of articles actually going to correct sections.

Install

Using Composer:

$ composer require rah/rah_wrach

Or download an installer.

Preferences

Rah_wrach introduces few settings. All the available settings can be found from Textpattern’s preferences panel, organized under a Wrach section. The following settings will be present.

Display the following sections (comma-separated)

Sets which sections are listed in the section prompt. The field takes a comma-separated list of section names. Sections will be listed in the prompt in the order they are specified in the field.

news, articles, design

The above would bring News section to the top of the prompt and list Design the last. If the field is left empty, all sections are present in the prompt, sorted in an alphabetical order.

Hide the section input?

If set to Yes, the Sections selection field on the article editor is permanently hidden. Once a section is chosen from the prompt, the editor won’t offer an option to change the section. You will still be able to change the section for an existing article with the multi-editing tool residing on the article list.

Changelog

Version 0.4.1 – 2022/04/15

  • Textpattern 4.8.x compatibility.
  • Use preference API instead of direct queries in uninstaller.
  • Fix preference link on the plug-in panel.

Version 0.4.0 – 2019/03/31

  • Optimized peak memory usage.
  • Registered prefs.rah_wrach privilege.
  • Published as a Composer package.
  • Now requires Textpattern CMS 4.7.0 and PHP 7.2.0.

Version 0.3 – 2012/08/31

  • Changed: New look and feel for the prompt. Uses a native grid layout, and displays extra information in the prompt.
  • Added: Settings to the Preferences panel.
  • Added: Finnish translation.
  • Added: French translation by Patrick Lefevre.
  • Textpattern v4.5.0 compatibility.
  • Now requires Textpattern 4.5.0 or newer.

Version 0.2 – 2010/12/22

  • Now compatible with TXP 4.3.0. Thank you, Phil Wareham, for reporting.
  • Moved JavaScript and inline styles to the <head>.
  • Now requires TXP 4.0.7 or newer.

Version 0.1 – 2008/07/13

  • Initial release.