Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-11 09:16:23

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

rah_default_category

A tiny Textpattern plugin that allows you to pick default categories for articles, just like you can select a default section.

More info and downloads

Offline

#2 2008-12-11 10:37:21

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: rah_default_category

Quite useful. Thanks Jukka!


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#3 2008-12-11 10:43:49

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

trenc wrote:

Quite useful. Thanks Jukka!

Thanks trenc :-)

Offline

#4 2010-08-11 04:26:41

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

Version 0.2 is now available. Changelog:

  • Fixed: conditional logic. Now doesn’t reselected default categories after article post + empty categories compo.
  • Removed the table based layout from the plugin’s prefs panel.
  • 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_page to rah_default_category.
  • Now requires Textpattern version 4.0.7 or newer.

More info and downloads

Offline

#5 2010-08-11 07:08:40

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: rah_default_category

People using old versions (of this or other plugins recently upgraded) have to clean up something? I mean unused preference tables or similar.

Offline

#6 2010-08-11 07:51:28

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

candyman wrote:

People using old versions (of this or other plugins recently upgraded) have to clean up something? I mean unused preference tables or similar.

No. As for now every rah-plugin’s installer and updater is automatic. Nothing needs to be removed, and if and when needed, I usually state that in changelog.

For completely uninstalling see rah_uninstaller which is house-keeper/uninstaller for rah-plugins.

Offline

#7 2010-11-02 06:25:42

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

Released version 0.3. Changelog:

  • Removed unnecessary default values from the installation query.
  • Removed no-longer used HTML IDs.

More info and downloads

Offline

#8 2011-02-22 14:35:29

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: rah_default_category

Hi,

Each time I login to TXP, the default values for the Categories fields don’t show until I go to the Extensions tab and come back to the Write tab.

Nothing that am too worried about, but thought I’d just point it out :)

Offline

#9 2011-06-29 07:23:05

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

Version 0.4 released. Improves integration with Textpattern admin-interface by moving the preferences from its own tab to TXP’s Advanced Preferences pane. Changes:

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

More info and downloads

Last edited by Gocom (2011-06-29 07:24:56)

Offline

#10 2011-06-29 07:42:22

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

husainhk wrote:

Each time I login to TXP, the default values for the Categories fields don’t show until I go to the Extensions tab and come back to the Write tab.

Thank you for pointing that out :) Just released version 0.5 should fix the issue.

More info and downloads

Offline

#11 2012-08-27 09:04:21

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_default_category

Rah_default_category v0.6 is out. Changes:

  • Added: Finnish translation.
  • Added: French translation by Patrick Lefevre.
  • Improved: Now uses escape_js() to make sure JavaScript strings are valid.
  • Improved: Language strings aren’t embedded to the source code, but uses external Textpack that are ran during install.
  • Changed: Wrapped functions to a class.
  • Changed: Renamed Preference group to Default article categories.
  • Changed: In preferences displays categories as a tree. Child categories are listed under the parent.
  • Fully compatible with Textpattern v4.5.

More info and downloads

Offline

Board footer

Powered by FluxBB