Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#61 2010-02-21 20:56:42
- Qwest
- Member
- From: London, UK
- Registered: 2007-01-24
- Posts: 112
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
Hello Mary,
I’ve just installed your plugin on TXP 4.2.0 and I can’t get it to work. The ‘Save New’ button appears but when I use it, I don’t actually get a new post?
Do you have any ideas on how to get this working?
Thanks,
Offline
#62 2011-02-22 11:38:48
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 557
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
bump. Just curious is this plugin compatible with Textpattern 4.3.0? It would save me a huge amount of time with a website I update.
—Edit—
Well it seems to be working. Thank you Mary this plugin will make such a difference to the amount of time I spend creating new articles.
Last edited by Algaris (2011-02-22 11:49:50)
Offline
#63 2011-02-25 18:09:29
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 557
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
Could I submit a feature request?
When clicking the Save New button I’ve noticed it re-sets the date and time to today, while retaining everything else (sections, categories, etc). Would it be possible for the plugin to remember the ‘Published at’ date and time from the article it’s making a copy of?
This would be very useful for me as most of the articles I post are for dates in the future.
Many thanks.
Offline
#64 2011-02-25 23:09:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
That would be defeating the purpose for most people’s use of the plugin.
For yourself, you can either comment or or remove the following bits from the plugin (use the ‘Edit’ on the plugins page):
// check reset time checkbox
$('#reset_time').attr({
name: 'publish_now',
checked: true
});
Offline
#65 2011-02-26 20:04:04
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 557
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
That worked a treat. Thanks Mary
Offline
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
Any chance this plugin will work with 4.5? I have always used it in the past but the save new button is broken in txp 4.5.
Offline
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
no dice… but I’ve heard rumor that we may end up with a shiny save new in core one of these days…
Offline
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
A quick and dirty fix for TXP 4.5, which worked for me, was to unbind the Javascript Listener. Search in the Plugin Code for
$('#url-title').attr('value', '');
and then add
// set article status to 1
$("#status-1").attr('checked','checked');
// unbind the JS Listener from the HTML From
$('#article_form').unbind();
Use on your own risk ;-)
<code>is</poetry>
Offline
#69 2013-02-24 00:00:29
- EdwardS
- Member
- Registered: 2013-02-23
- Posts: 13
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
superfly – your hack worked a treat for 4.5.2. Are there any side effects? This is a must if you are looking to create a revision system along with Mary’s upm_pending_notify you have the very basic features. This would be an excellent addition to core. Anyone wanting to do this that doesn’t know anything about php (like me) you put superfly’s code directly after the:
$('#url-title').attr('value', '');
Offline
Re: [plugin] [ORPHAN] upm_savenew: "Save New" button for articles and forms.
EdwardS wrote:
superfly – your hack worked a treat for 4.5.2. Are there any side effects?
I had no side effects, worked fine for my editorial team since i made the change.
<code>is</poetry>
Offline