You are not logged in.
Pages: 1
I have created a branch here, which changes the way we show messages and errors to the user. All messages are now shown the same place on each page, right under the page title. I have also modified the redirect() function, so it use header() instead of a meta redirect. And because of that, I also had to change the way we assign the cont vars.
Any feedback is welcome ![]()
Offline
I have created a branch here, which changes the way we show messages and errors to the user. All messages are now shown the same place on each page, right under the page title. I have also modified the redirect() function, so it use header() instead of a meta redirect. And because of that, I also had to change the way we assign the cont vars.
Any feedback is welcome
I think you should move message function from function.admin.php into function.all.php
Message will be show also in site - righgt?
A_Bach
Offline
I like the idea, but I didn't have time to look at the code. I hope I can look at it soon.
Offline
I think you should move message function from function.admin.php into function.all.php
Message will be show also in site - righgt?
No, the system is only for the admin interface.
Offline
a_bach wrote:I think you should move message function from function.admin.php into function.all.php
Message will be show also in site - righgt?
No, the system is only for the admin interface.
Why not extend it, so that it can be used in the site too?
Offline
Spirit55555 wrote:a_bach wrote:I think you should move message function from function.admin.php into function.all.php
Message will be show also in site - righgt?
No, the system is only for the admin interface.
Why not extend it, so that it can be used in the site too?
Themes would need .error, .notice and .success styles in their CSS, but other than that, it should be easy to do. We might also need a theme function to display the messages?
Offline
Pages: 1