Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-02-06 16:51:13

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

yab_copy_to_new: Copy article content to a new one (upm_savenew)

This Textpattern plugin is a replacement for upm_savenew so you can copy the content of an article to a new one.

Download compiled and source: yab_copy_to_new_v0.2

  • v0.1: 2014-02-06
    • initial release
  • v0.2: 2014-04-11
    • feature: enhanced config for placing/styling the button

Last edited by trenc (2014-04-11 14:36:53)


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

Offline

#2 2014-02-11 14:13:23

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: yab_copy_to_new: Copy article content to a new one (upm_savenew)

Thank you very much. I installed the plugin and it works perfect, all is copied, also the contents of the custom fields.

Offline

#3 2014-04-01 12:41:46

eritropel
Member
From: Hamburg
Registered: 2009-08-27
Posts: 26

Re: yab_copy_to_new: Copy article content to a new one (upm_savenew)

Thank you. This is just what the doctor ordered :-) Works perfect.

If I had a free wish: Could you place the button away from the Safe Button? E.G. next to the New Article (“neu erstellen” in german) in the right top? I’m afraid to click the wrong one to often when I want to safe…

Offline

#4 2014-04-01 16:26:21

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: yab_copy_to_new: Copy article content to a new one (upm_savenew)

I solved that for myself by removing the class publish from the button code, makes for a smaller gray button, at least in Hive.

Last edited by uli (2014-04-01 16:27:40)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2014-04-11 14:40:35

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

Re: yab_copy_to_new: Copy article content to a new one (upm_savenew)

eritropel wrote #280005:

If I had a free wish: Could you place the button away from the Safe Button? E.G. next to the New Article (“neu erstellen” in german) in the right top? I’m afraid to click the wrong one to often when I want to safe…

Can do that.

The in the new version you can do some placing/styling configurations.

A new config function (first in plugin code) exists. There is a commented example. Simple comment the original config array and uncomment the example. Or create – more or less – your own button.

Last edited by trenc (2014-04-11 14:41:17)


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

Offline

#6 2014-04-17 18:13:26

eritropel
Member
From: Hamburg
Registered: 2009-08-27
Posts: 26

Re: yab_copy_to_new: Copy article content to a new one (upm_savenew)

Just found and tested the new version. Thank you very much trenc!

Offline

#7 2014-05-07 20:01:54

moon blake
Member
From: near Hannover, Germany
Registered: 2009-07-16
Posts: 76

Re: yab_copy_to_new: Copy article content to a new one (upm_savenew)

Thanks for this plugin, very helpful.

Offline

Board footer

Powered by FluxBB