rah_default_category
Published under current TXP projects
Rah_default_category is a tiny admin-extension for Textpattern CMS. The plugin brings the default section feature to categories. With rah_default_category site authors can pick default article categories, just like one can select a default section. The plugin is an answer to a feature request made by jim.
Image: rah_default_category
List of features
- Select default categories for articles, just like you can select default section.
- Provides easily configurable options added to Textpattern’s Advanced Preferences (Textpattern / Admin / Preferences / Advanced). No playing with code required, all GUI based.
Requirements
Rah_default_category’s minimum requirements:
- Textpattern 4.0.7+
- jQuery (bundled with Textpattern).
Recommended:
- Textpattern 4.2.0+
Installation and usage
The normal plugin installation behavior stands:
- Download the plugin installation code file.
- Navigate to your Textpattern installation’s Plugins page (TXP/Admin/Plugins).
- Copy and paste the plugin code to the Install plugin box and run the automated setup.
- When the setup is done, just activate the plugin from the plugin list.
- When done, the plugin is ready to be used. Now you can go to Textpattern / Admin / Preferences / Advanced > Section: Write Tab’s Default Categories and pick the default categories.
Changelog
Version 0.5
- Fixed: the issue where default values didn’t show up directly after logging in. Thank you for reporting the issue Husain.
Version 0.4
- Changed: Integrated the plugin’s preferences pane to Textpattern’s build in Advanced Preferences interface. The plugin no longer has own tab, but instead the preferences are located at TXP/Admin/Preferences/Advanced.
- Changed: Preferences are now stored in txp_prefs table instead of its own table. The plugin comes with migration script that makes transition automatic.
- Fixed: Doesn’t throw up JavaScript if browser’s JavaScript support is disabled.
- Added: Language string support.
- Added: Options link to the Textpattern’s plugins pane.
- For full feature compatibility requires Textpattern 4.2.0 or newer.
Version 0.3
- Removed unnecessary default values from the installation query.
- Removed no-longer used HTML IDs.
Version 0.2
- Fixed: conditional logic. Now doesn’t reselected default categories after article post + empty categories combination.
- Removed tables from the plugin’s prefs panel and changed to better layout.
- Removed inline styles.
- Improved installer.
- Now uses same coding style as all newer rah-plugins.
- Centralized preferences fetcher.
- Changed prefs panel event from
rah_default_category_pagetorah_default_category. - Now requires Textpattern version 4.0.7 or newer.
Version 0.1
- Initial release.