欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

drupal 错误弹出js alert

shiping1 的头像

  这个模块 可以实现 错误弹出js alert
可以让错误信息更友好

好像没有配置,装上去就起作用

可是对所有页面都起作用


https://drupal.org/project/purr_messages  //试过了,不错 可以单独对某页面配置   进admin/settings/purr 里配置   admin/settings/purr 进行设置
同时 admin/user/permissions 权限页面 还要进行配置





https://drupal.org/project/jquery_msg_alert  //试过了 好像有点问题 也许行吧 不过要用jquery 1.7




Convert Drupal error message to JavaScript alert

How I am able to do that?

I'd like to show the status/error messages in form of an alert using JavaScript instead of showing it on the screen.


It think the better messages module is for you.

来自 http://drupal.stackexchange.com/questions/34951/convert-drupal-error-message-to-javascript-alert
普通分类: