rah_section_titles
Published under current TXP projects
Rah_section_titles makes Write tab’s section drop-down list show section titles instead of section names. The rah_section_titles plugin is some sort of an answer to this feature request made by Redbot.
Image: rah_section_titles
List of features
- Admin-side Write tab shows section titles instead of names.
- Very easy to set up: just run the automatic plugin setup and activate.
- Outputs compact, clean JavaScript code.
Requirements
Rah_section_title’s minimum requirements:
- Textpattern v4.4.0 or newer.
- jQuery (jQuery is bundled with Textpattern).
Installation
The general simple behavior stands: paste the plugin code to the plugin installer box found on Plugins panel, and run the automatic setup. When the installer is done, just activate the plugin. That’s it. Now you should see list section titles on the Write’s Sections field.
Changelog
Version 0.4
- Now uses Textpattern’s
escape_js()to escape the strings used in JavaScript, andscript_js()to return the JavaScript wrapped in script tags. - As of version 0.4, requires Textpattern version 4.4.0 or newer.
Version 0.3
- Fixed: Don’t throw up JavaScript when the browser has JavaScript disabled.
- Changed: Escape HTML markup by using jQuery’s text() method instead of html().
- Changed: Plugin type to the newer admin-side only.
Version 0.2
- Better compatibility with other plugins that play with the same drop-down, and better integration with TXP. Now the plugin doesn’t replace the entire dropdown, but only the labels within each item.
- Generally improved code.
- Moved the JavaScript to
<head>. - Now requires Textpattern 4.0.7 or newer.
Version 0.1.2
- Added missing
<br />.
Version 0.1
- Initial release.