Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-31 05:37:47

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

[plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

for txp 4.5 compatibility please check this post

upm_savenew

“Save New” button for articles and forms.

Last edited by uli (2013-01-24 17:06:32)

Offline

#2 2005-08-31 08:24:00

MikkelM
Member
From: Denmark
Registered: 2004-10-28
Posts: 26
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

Nice! I needed that one. Always on time, Mary :)

Offline

#3 2005-08-31 18:36:42

andjules
Member
From: toronto
Registered: 2004-10-20
Posts: 44

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

brilliant!

potential use case (w/ a feature request…):

editting workflow (for corporate site/client):*
  • client organization: boss assigns article editing tasks to junior
  • junior edits and uses ‘save new’; feature requests:
    • variable to control default new article status (draft/hidden/pending/live/sticky)
    • (less important) email notification variable (so boss gets email, reviews, updates the ‘real’/original article

*I’m always frustrated that CMS’ have pre-publishing states/controls, but once something is ‘approved’/published, the author has no restricitions/versioning on edits…

Offline

#4 2005-08-31 19:31:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

I’m afraid both are not possible – at least, not currently – with a plugin. It requires quite a bit of modification to the core file involved.

Offline

#5 2005-08-31 20:55:53

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

Excellent

Offline

#6 2005-09-01 17:16:17

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

This functionality would be extremely useful on the Presentation -> Forms section also! Would you consider adding this to the plugin?

Offline

#7 2005-09-01 22:05:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

Wish granted.

Offline

#8 2005-09-03 04:47:10

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

This is really a superb idea! Thank you very much for this plugin and also the great job you are doing with other plugins!

Regards,
Vasanth


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#9 2005-09-05 09:55:39

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

> mary wrote:

> Wish granted.

Excellent news – thanks!

Offline

#10 2005-09-05 20:21:41

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

Thanx Mary…
but hmmm… I only get the “save new” button on Presentation -> Forms.
Not in the Write section. Strange… or?

Offline

#11 2005-09-05 20:57:14

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

You’d only get it for articles you’re editing…

Offline

#12 2005-09-06 07:43:14

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

Aáah… didn´t do the tests very well before I posted then… :)

Offline

#13 2005-10-08 08:10:06

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,383
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

hi mary,
Started using your plugin and it looks great.
there’re a couple of small problems however. On saving new the plugin does not save all fields.
ie it does not save the URL-only title inserting the default instead
it publishes the article on the same date/time as the article which was edited. (even if I click the “Reset time to now”)

I hope I made sense here…:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#14 2005-10-08 20:11:28

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

The url-only title wouldn’t be changed, you have to change it (just clean it out). I added some JavaScript to the plugin to try and clear that field out for you, so make sure JavaScript is turned on. Are you certain that you aren’t getting any JavaScript errors? This part works fine for me.

The date part is odd. All that the plugin is is a button that passes a value telling Textpattern it is a new post, so that should be changable. I’ll check it out later and see what I can figure out.

Offline

#15 2005-10-09 00:25:22

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.

Okay, make sure you gave your post a new title, otherwise Textpattern will generate the same url title as the original article. :)

I can see the date thing now, and I see why. Fixed.

Offline

Board footer

Powered by FluxBB