An open API service indexing awesome lists of open source software.

https://github.com/gocom/rah_wrach

Two step article publishing for Textpattern CMS
https://github.com/gocom/rah_wrach

php textpattern textpattern-plugin

Last synced: 6 months ago
JSON representation

Two step article publishing for Textpattern CMS

Awesome Lists containing this project

README

          

h1. rah_wrach

"Download":https://github.com/gocom/rah_wrach/releases | "Packagist":https://packagist.org/packages/rah/rah_wrach

"!https://raw.githubusercontent.com/gocom/rah_wrach/screenshots/images/select-section.png!":https://raw.githubusercontent.com/gocom/rah_wrach/screenshots/images/select-section.png

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

h2. Install

Using "Composer":https://getcomposer.org:

bc. $ composer require rah/rah_wrach

Or "download":https://github.com/gocom/rah_wrach/releases an installer.

h2. Preferences

Rah_wrach introduces few settings. All the available settings can be found from Textpattern's "preferences panel":https://docs.textpattern.com/administration/preferences-panel, organized under a *Wrach* section. The following settings will be present.

h3. 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.

bc. 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.

h3. Hide the section input?

If set to _Yes_, the _Sections_ selection field on the "article":https://docs.textpattern.com/administration/write-panel 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":http://textpattern.net/wiki/index.php?title=Articles list.

h2. Changelog

h3. 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.

h3. 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.

h3. 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":https://twitter.com/lowel.
* Textpattern v4.5.0 compatibility.
* Now requires Textpattern 4.5.0 or newer.

h3. Version 0.2 - 2010/12/22

* Now compatible with TXP 4.3.0. Thank you, "Phil Wareham":http://forum.textpattern.com/viewtopic.php?pid=238736#p238736, for reporting.
* Moved JavaScript and inline styles to the @@.
* Now requires TXP 4.0.7 or newer.

h3. Version 0.1 - 2008/07/13

* Initial release.