开发者

Display message while editing a node in drupal?

开发者 https://www.devze.com 2023-01-26 13:34 出处:网络
I want to display a message while editing a node in drupal like this \"开发者_StackOverflow中文版we are updating this page, we will get back to u soon\"

I want to display a message while editing a node in drupal like this "开发者_StackOverflow中文版we are updating this page, we will get back to u soon" can anyone help me!


You can use an unpublished revision to do this. Make the current published revision your message that says "we are updating this page" and then have an unpublished revision that contains the content you're working on. You have to edit the content type to turn off "Published" under workflow settings and check "Create new revision" in order to create your revisioning workflow. The Revisioning module can help a lot with this.


You can use Rules that trigger an action like "content is going to be view" (possibly with some condition) and display a message to the user.

0

精彩评论

暂无评论...
验证码 换一张
取 消