Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2008-05-01 15:24:38

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

If this is integrated into the core, and then a little bug like the one I reported appears, you will have to wait until the next release of the whole xPattern to fix it. Of course, there could be patches, workarounds, but not everyone out there is willing/can/have-guts to make changes into TxP/xPattern files just to fix a bug.
Upgrading a plug-in is far more easy for everyone.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#47 2008-05-01 18:43:42

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

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

Julián: That’s not a bug, that’s a feature that was supposed to always be there. Several forms cannot have their names changed for when you save as new (such as “default”) so automatically appending “_copy” is a simple way of fixing that. All you have to do is rename the form later.

Andrew: Well, that’s an interesting view, but I’m not sure why you’re posting that here. If you want to use xPattern, then use xPattern.

Offline

#48 2008-05-01 21:15:09

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

Mary,

not sure if I understood you, but also not sure if you understood me.
I’m saying that the “_copy” suffix is being added even when you are creating a new form from scratch, and not just when an already existing form is saved as new.
So, a new form is always getting the “_copy” suffix even when is not a copy of any other form.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#49 2008-05-06 00:59:50

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

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

Ah, I see what you mean now (I totally missed the words “from scratch”). Should be fixed.

v.0.4.2

Last edited by Mary (2013-01-24 17:28:35)

Offline

#50 2008-08-11 14:18:21

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

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

Hi Mary

I’ve been using your plugin for a few weeks (thanks).

The Save New button on the Write article has just (today) stopped appearing.

The one on the Form page does appear after a slight delay.

I’ve tried re-installing but no change.

I’m using 0.4.2 and 4.0.6

I haven’t installed another plugin today.

Thanks
Geoff


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#51 2008-08-12 23:51:34

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

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

Have you modified the admin source in any way, say via an admin theme?

Offline

#52 2008-08-14 10:42:32

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

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

Hi Mary,

No admin themes.

It’s working again now …

What I think it was …
I created and saved a new article and was looking to ‘Save New’ and create a second similar article.
The button wasn’t there.

It only seems to appear if you ‘Edit’ an already created article. I guess this is how it’s supposed to work.

Now I’ve realised this, there’s no problem.
I just expected it to appear once I saved the new article – my fault sorry

Geoff

Last edited by geoff777 (2008-08-14 10:43:33)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#53 2008-08-25 18:10:10

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

Hi Mary,
when using upm_savenew with the MLP, I get this messages after hitting the “Save new” button.
The article is saved, it shows up on the Articles tab (the “Renditions” tab, actually), but it doesn’t show on “Content- > MLP -> Articles”.

Notice: Undefined index: CloneLang in /home/mgo/html/textpattern/lib/l10n_admin.php on line 426
Notice: Undefined index: CloneGroup in /home/mgo/html/textpattern/lib/l10n_admin.php on line 427

Not sure if I should “complain” this to you or to Steve (netcarver).
I hope it’s possible to easily make it MLP compatible.
Thanks.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#54 2008-08-26 16:01:06

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

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

maniqui wrote

I hope it’s possible to easily make it MLP compatible.

Hello Julián. This plugin won’t work with the MLP Pack — you should use the clone feature from the Content > MLP > Articles table instead — or request a new feature on the MLP Pack thread.


Steve

Offline

#55 2008-08-26 16:23:48

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

Hi Steve,

don’t worry. I won’t be bothering you with another feature request :D

I wasn’t trying to clonate an article (to translate it), but to use an existing article as a template for a new row of renditions.

Anyway, thanks for replying and clarifying!


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#56 2008-10-02 11:44:21

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

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

I’ve just installed TXP 4.0.7 (revision 2979) and have found that upm_savenew causes Safari 2.0.4 to crash. I think it’s probably Safari’s problem – I’m using rather an old version (don’t ask) – but thought I should mention it for the record. No problems with Safari 3 though.

Offline

#57 2009-02-10 15:09:35

Anne
New Member
Registered: 2009-02-10
Posts: 2

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

Hi, my first question/message at this forum. I installed upm_savenew 0.4.2 at Textpattern 4.0.8 in Dutch language. I get two red buttons now, both named ‘Opslaan’ (‘Save’ in Dutch). The left one acts as a ‘Save’-button, the right one as a ‘Save as’-button, so it works fine. But I find the same text on both buttons confusing. Does anybody know how I can rename the text at the right button? (In ‘Bewaar als’ instead of ‘Opslaan’).
Thankx!

Last edited by Anne (2009-02-10 15:10:32)

Offline

#58 2009-02-10 17:29:02

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

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

The plugin makes use of the built-in language strings, which means the Dutch translation for Textpattern needs correcting. The string in question is named “save_new”. You can look it up in your txp_lang database table and change it to whatever makes sense.

I would recommend trying to get ahold of the Dutch translator (Kees Brandenburg, username: kees-b) and have them correct it, since others would have the same problem, and you’ll have the string overwritten when you “update” your language until it is corrected at the source. Best place to probably start is a new thread in the Dutch forum. If that gets no action, then let Robert/Ruud know via the Internationalisation forum.

Offline

#59 2009-02-11 14:28:14

Anne
New Member
Registered: 2009-02-10
Posts: 2

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

Hi Mary,
Thank you for your quick solution! It works fine for me. I will try to contact Kees to correct the translation.

Offline

#60 2009-08-31 16:46:20

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

Hi Mary > Thanks again for my favorite plugin that should never be (should be core). ;)

The new postmaster creates some new buttons on the write page which are targeted by upm_savenew. Could you target the publish button more specifically so we don’t have an additional 2 “save new” buttons popping up. Pretty please?

Update: This fixes it. edit line 45-ish (thanks manfre)

$('#page-article input[name="save"]').eq(0).

Last edited by mrdale (2009-08-31 18:51:28)

Offline

Board footer

Powered by FluxBB