yab_copy_to_new - copy the current article content to a new one

This Textpattern plugin is a replacement for upm_savenew. It generates a button in the write tab. By clicking the button you can copy the article content to a new one.

Download compiled and source: yab_copy_to_new_v0.2.tar.gz

yab_copy_to_new

Displays a new button in article write tab to copy the current article to a new one.

Version: 0.2

Table of contents

  1. Plugin requirements
  2. Configuration
  3. Changelog
  4. License
  5. Author contact

Plugin requirements

yab_copy_to_new’s minimum requirements:

  • Textpattern 4.x
  • Modern browser capable of HTML5 sessionStorage

Configuration

Install and activate the plugin.

The following form fields will not be copied by default:

  • all of hidden type
  • an exclude array of posted day and time and the url_title
    You can modify this exclude array on your own,

The function yab_ctn_config() contains an array with some config values and a commented example of the array which places the button near the top »Create new button«.

  • 'exclude': Javascript array with field to excluded from copying
  • 'position_selector': a valid jQery selector (used by position_method)
  • 'position_method': any jQuery DOM insert method (after, prepend, append, before etc.)
  • 'class': html class applied to teh button
  • 'style': inline style attribute aplied to the button

Changelog

Install and activate the plugin.

The following form fields will not be copied by default:

  • all of hidden type
  • an exclude array of posted day and time and the url_title
    You can modify this exclude array on your own,

The function yab_ctn_config() contains an array with some config values and a commented example of the array which places the button near the top »Create new button«.

  • 'exclude': Javascript array with field to excluded from copying
  • 'position_selector': a valid jQery selector (used by position_method)
  • 'position_method': any jQuery DOM insert method (after, prepend, append, before etc.)
  • 'class': html class applied to teh button
  • 'style': inline style attribute aplied to the button

Licence

This plugin is released under the GNU General Public License Version 2 and above

Author contact

Kommentar





Textile-Hilfe