Splash的意思在这里是引人注目的,重点地,突出显示的意思.
Display any internal path, external URL or text as a splash page before going to the actual frontpage.
在访问实际的首页之间,显示一个splash 页面,这个页面可以是一个内部的URL提供的页面,也可以是外部URL提供的页面,也可以是Splash模块配置页面中输入的静态HTML.
Notes: Version 6.x-2.x will not be ported to 5.x and new features will only be added to 6.x
Features since 6.x-2.x
注意: 版本6.x-2.x上的功能将不会向下兼容到Drupal5.x版本上.对于新的特性,也只会添加到Drupal6.x的版本上了. 6.x-2.x版本包含的特性有:
• Set the splash page to be displayed every week, day, once or always.
• 设置splash页面显示的频率,可以是每周,每天,只有一次,或者永远.
• Use the condition module to further restrict when the splash page should be displayed (e.g. certain roles, PHP code).
• 可以使用condition(条件) 模块,进一步的控制什么时候应该显示splash页面(比如,基于特定角色,PHP代码.)
• Choose to display the splash page in a new window, by using ThickBox or by redirecting to the page.
• 选择splash页面的显示方式,比如在新窗口显示,或者使用 ThickBox,或者采用重定向的方式.
• Set the size of the window or ThickBox.
• 设置新窗口或ThickBox的大小.
• Let the module choose from a list of splash pages, either in random or sequence mode.
• 可以设置一列splash页面,让模块按照序列或者随机的从中选择。
• Enter a filtered text to be displayed as splash page, either in the site template or full screen.
• 可以选择输入一个HTML文本作为splash页面,这个页面可以采用站点的模板,也可以完全的自己独立,使用自己的CSS和外观。
• Force display or skip splash page by calling the frontpage with ?splash=on/off. This is necessary to running cron on sites with the splash set to display on all pages:
• 通过?splash=on/off调用frontpage,可以强制性的显示或者跳过前导页面。如果把前导设置在所有页面都显示了,那么在执行cron的时候会用到这一点:
0 * * * * wget -O - -q -t 1 http://example.com/cron.php?splash=off
Splash在这里可以翻译为前导(前导页面模块),或者也可以说成是一个引导页面,根据上面的理解。
Splash 模块的下载地址 :http://drupal.org/project/splash
中文简介由http://www.thinkindrupal.com翻译。
这个模块,我以前在帮人做网站的时候,遇到过这样的需求,后来突然看到了存在这样的一个模块,再后来,又有人提出类似的需求。所以还是有人用的,很多网站都设置了前导页面。