Preferred method to notify users of successfully saved options

1 view
Skip to first unread message

Colin

unread,
Sep 26, 2009, 2:06:48 PM9/26/09
to habar...@googlegroups.com
Hi all.

Quick question: what it the preferred method of notifying users that
their plugin options have been successfully saved?

Several plugins in -extras and core use the $ui->set_option(
'success_message', _t( 'Options successfully saved.' ) ); method,
however a few use the more noticeable Session::notice() method.

There doesn't seem to be any documented preferred method, hence the
question (I'll also document it once a consensus has been agreed, if
there is a consensus).

Cheers,
Colin

--
Colin Seymour
Blog: http://www.colinseymour.co.uk
Tech Stuff: http://www.lildude.co.uk

Ali B.

unread,
Sep 27, 2009, 12:01:13 AM9/27/09
to habar...@googlegroups.com
I don't think there's a preferred method per se really. I would, as a user, rather see a session message when I save the plugin configurations. But that's just my preference.
--
Ali
http://awhitebox.com

rick c

unread,
Sep 27, 2009, 11:37:12 AM9/27/09
to habari-dev
I don't know that there is a 'preferred' way. Both work. My personal
preference is a Session::notice because it is, as you say, more
noticable. (though I've probably used both)

Rick
Reply all
Reply to author
Forward
0 new messages