Roger, this message class looks pretty good.

One thing would be good for this is to have some form of a global
message array. That way we can load up the messages and then output them
where we want on the page.

I'm not sure where this global class should go. I like the flexibility
of the current class, but wonder if you have any thoughts how we can
adapt to the current codebase to have some stored messages, then inside
aikiframework we can have a code for displaying these, and should note
in the array where the message is displayed, or simply it has been
displayed. Then, also, if a message is not displayed 1 or more times,
then it should by default be displayed at the top of the output.

That seems to make the most sense to me.

I'm guessing the best place for then the output of messages would be
when the document is parsed or output, but haven't looked into more.

Does this make sense?

Some challenges:

* we should support allowing a user to just get these messages by default at 
the top of a document
* or, even should be able to set a section where all messages could be 
displayed, as is sometimes necessary and good for design
* or, display wherever one wants through some aikimarkup and/or parsed php
* one final thing to take into account is how users might use this in 
conjunction with ajax. one idea is to save these as json output so that if a 
form is known to use ajax, they are immediately available in a compatible 
structure invisible to the user, but could displayed on demand in ajax?

Any thoughts on this? fixing this will solve like 50 bugs and blueprints
:)

Christopher is adding your message.php to the core right now, and I
think we should go ahead and replace the hardcoed messages as a first
step, and work on the next part.

Thoughts? Should I open a new bug once you get this message class
working christopher?

Exciting!

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/737903

Title:
  styling-output-messages

Status in Aiki Framework:
  In Progress

Bug description:
  patch for blueprint with the same name

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to