Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2017-11-09 12:47:43

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Add the ability to alterate admin UI messages

Even with exit? Anyway, I will commit shortly a more flexible messaging system, please be my guest.

Offline

#17 2017-11-09 13:07:21

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Add the ability to alterate admin UI messages

etc wrote #307748:

Even with exit?

Sorry for my inattention, it works with exit.

Anyway, I will commit shortly a more flexible messaging system, please be my guest.

Sure!


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#18 2017-11-09 14:10:29

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Add the ability to alterate admin UI messages

Now you should be able to inject your own message, try replacing exit with return again.

Offline

#19 2017-11-10 07:53:24

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Add the ability to alterate admin UI messages

etc wrote #307751:

Now you should be able to inject your own message, try replacing exit with return again.

Thanks; my custom message is now prepended to the existing one and the error status is correctly alterated. Maybe it should come after the one generated by the core? No big deal.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#20 2017-11-10 09:04:04

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Add the ability to alterate admin UI messages

NicolasGraph wrote #307760:

Thanks; my custom message is now prepended to the existing one and the error status is correctly alterated. Maybe it should come after the one generated by the core? No big deal.

Messages are appended as they arrive. This can be tweaked, but needs some thinking first.

Offline

#21 2018-07-10 11:20:26

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Add the ability to alterate admin UI messages

Hi, I’m back in this thread because I would like to affect the Preferences tab related message on saving but I can’t; it is not in async mode. Anything I could do?
Thanks.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB