Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
“Save New” button for articles and forms.
Last edited by uli (2013-01-24 17:06:32)
Offline
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
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
Excellent
Refresh Dallas and other Refreshing Cities.
Offline
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
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
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
> mary wrote:
> Wish granted.
Excellent news – thanks!
Offline
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
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
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