Allow $SESSION messages to be displayed in alternative places
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Robert Lyon |
Bug Description
Wanting certain messages that get added to $_SESSION[
To handle this I am thinking that a 'placement' variable needs to be added to message items. This way one could easily specify the place on the screen where the message is to appear.
So that the code to add a message to an alternative place, for example under the login auth box, would be:
$SESSION-
and in the login.tpl template have
{dynamic}
for all the session messages with out placement specification - they would get displayed in the default place.
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Have added a patch for this: /reviews. mahara. org/#/c/ 2687/
https:/
Which includes a change:
That places the message for users who are only allowed to login via their external application underneath the login box rather than default place to make it more obvious what they need to do.