Two step article publishing for Textpattern CMS
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
textpacks
.gitignore
LICENSE
README.textile
manifest.json
rah_wrach.php

README.textile

rah_wrach

Project page | Twitter | GitHub | Support forum | Donate

Rah_wrach is a tiny admin-side plugin for Textpattern CMS that makes users to choose an article’s designated section before going to the actual editor on the Write panel.

Basics

Rah_wrach adds an extra step to the 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.

Requirements

Rah_wrach’s minimum requirements:

  • Textpattern 4.5.0 or newer.
  • PHP 5.2 or newer.

Installing

Rah_wrach’s installation follows the standard plugin installation steps.

  1. Download the plugin installation code.
  2. Copy and paste the installation code into the Install plugin box of your Textpattern Plugin pane.
  3. Run the automated setup.
  4. After the setup is done, activate the plugin. Done.

Preferences

Rah_wrach introduces few settings. All the available settings can be found from Textpattern’s Advanced 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 Write panel’s 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 – upcoming

  • Optimized peak memory usage.
  • Registered prefs.rah_wrach privilege for the future.

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.