PHPTemplate displays all messages in a 'Status' section, effectively dropping the drupal_set_message parameter $type. Drupal core makes use of a type 'error' in a few circumstances, and contributed modules use other types. taxonomy_context uses 'term'
Adding a DIV around the message to denote the type allows phptemplate to act like xtemplate, and for type of 'error' , the result is that drupal.css colourises the message.
| Comment | File | Size | Author |
|---|---|---|---|
| phptemplate_message.patch | 1.35 KB | zeroj |
Comments
Comment #1
deekayen commentedEverything about this is stale.