Download & Extend

PHP template splash in fullscreen, configurable bypass key and values

Project:Splash
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:major
Assigned:Unassigned
Status:needs review
Issue tags:bypass, cache, template

Issue Summary

Attached patch contains the following improvements:
- fullscreen template to be used by specifying path to PHP-template. Usefull to have unthemed splash template stored in files (unlike frontpage module, where all stored in database) together with unthemed css and js specific to splash only.
- configurable bypass key (e.g. ?mybypass=off instead of ?splash=off)
- configurable multiple bypass values instead of single 'off' (e.g. splash will be ignored if URL has ?mybypass=example1.com or ?mybypass=example2.com or ?mybypass=example3.com). Useful when you want to bypass splash when coming from sister websites.
- reverted to hook_boot() (dev version contained hook_init() for some reason). This allows to work with cached pages as it runs on DRUPAL_BOOTSTRAP_LATE_PAGE_CACHE stage.
- splash path does not have 'splash' in url anymore - url remains as default homepage.
- code formatting and comments fixing

Patch against 6.x-2.x-dev attached.

AttachmentSize
0007-by-alex.designworks-Added-fullscreen-template-functi.patch27.56 KB
nobody click here