Reply to comment

Thanks for the nice feedback.

Thanks for the nice feedback. Concerning the name I am not sure what would be best. I called it disclaimer because it could be used for that while all other names I came up with didn't fit well.

"Comment warning" does not fit the bill because it is not just specific to comments. I decided to simply call it warning. Currently it is for adding warnings to forms, but we could also extend it to allow for adding warnings to other elements.

Is there a way to enable PHP error messages from Drupal. I looked at the Devel module but haven't found that option. What I would like is to only have these errors as user 1 (or for specific roles). That would help debug modules/sites as a group without necessarily impacting normal users.

For the hook_help() function using more than one t(). I thought it was nicer if the translation people would not see the HTML tags. It would also mean that modifying a single paragraph would not render the complete text useless. Is there a guide about best practices for this ?

Thanks again for your feedback. I will rename the module when I do the next batch of updates. :-)

Reply

Please refrain from adding URLs to unrelated or commercial websites. This site is moderated and comments with inappropriate links are rejected. Thank you for your understanding.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options