1 afwas Feb 10, 2008 15:47
3 afwas Feb 10, 2008 16:10
Hi ¥åßßå,
Must be confusing indeed. I needed the msg thing. I only saw the boxes in the code for debug mode. That's why I looked in that direction. But WOW again. Simply msg().
I have a comma separated list in the settings and users may enter wrong values or less or more items than they should and I want to provide a neat explanation why nothing happens in their views.
These boxes appear in the blog though and not in the setting, but that's fine, since hitting the OK button brings them back to the blog.
A big thanks
--F
Your questions a tad confusing.
If you wish to add something to the debug log within your plugin you would use something like :
If you wish to add an error message to the screen you would use something like :
Similarly, if you wish to add an ok message to the screen :
Source : inc/plugins/_plugin.class.php approx 2493
¥