INSTALL.txt in Disclaimer 6
*******************************************************************************************
Warning
-------
In order to work, disclaimer need client has JAVASCRIPT ENABLED and ACCEPT COOKIE.
IMPORTANT NOTE FOR THOSE USING PATH.MODULE (URL ALIAS):
Please ensure you have no other pages setup with the URL ALIAS 'disclaimer' when
installing the disclaimer.module which uses the 'disclaimer' URL Alias by default.
CAUTION ON AGE VERIFICATION:
If you set age form option to your disclaimer, delete cookie and see the modal from "admin/settings/disclaimer", age verification will not work, because of preview windows under modal and CheckAge() js function witch get id of elements.
*******************************************************************************************
Requirements
------------
This module require at least version 6.x of Drupal.
This module require
Thickbox module (easy setup !) from
http://drupal.org/project/thickbox
- AND/OR -
NyroModal jquery plugin 1.6.1+ from
http://plugins.jquery.com/project/nyroModal
- AND/OR -
jqModal jquery plugin 2009.03.01 +r14+ from
http://plugins.jquery.com/project/jqModal
(up to date) http://dev.iceburg.net/jquery/jqModal/
Installation
------------
1. Copy the folder named 'disclaimer' and its contents to the modules directory
of your Drupal installation (for example 'sites/all/modules/').
-- you can choose Modal script you will set --
-- if you choose thickbox --
1.1. Download and install 'thickbox' module to the modules directory
of your Drupal installation (for example 'sites/all/modules/').
1.2. Go to 'admin/build/modules' and enable thickbox.
-- if you choose nyroModal --
1.1. Download NyroModal archive (version 1.6.1+) at
http://plugins.jquery.com/project/nyroModal
1.2. Create nyroModal folder in disclaimer module
sites/all/modules/disclaimer/nyroModal
1.3. Extract all NyroModal archive content in this folder.
so directory look likes:
disclaimer/nyroModal/js/
disclaimer/nyroModal/img/
disclaimer/nyroModal/styles/
no need of php files given in NyroModal package.
1.4. Rename one of the NyroModal script (packed recommended) on "disclaimer/nyromodal/js/"
to "jquery.nyroModal.js"
1.5. Module will use nyroModal.css, rename -full version if you need. Edit to your need.
-- if you choose jqModal --
1.1. Download jqModal script (version 2009.03.01 +r14+) at
http://plugins.jquery.com/project/jqModal
(up to date) http://dev.iceburg.net/jquery/jqModal/
Download jqModal css sample at
http://dev.iceburg.net/jquery/jqModal/
1.2. Create jqModal folder in disclaimer module
sites/all/modules/disclaimer/jqModal
1.3. Copy both js AND css files in this folder.
so directory look likes:
disclaimer/jqModal/jqModal.js
disclaimer/jqModal/jqModal.css
-- then --
2. In order to get disclaimer with customizes regions (no sidebar, etc...), you
can set-up a tpl file. The better way is to copy your page.tpl.php file from
your theme directory, rename it page-disclaimer.tpl.php and edit to your need
to delete sidebar zones.
There is a sample page-disclaimer.tpl.php file in disclaimer module made from
GARLAND theme. It can produce error on other themes.
3. Go to 'admin/build/modules' and enable disclaimer.
4. Go to 'admin/settings/disclaimer' and edit option and content for the disclaimer
to your need.
*******************************************************************************************
Post a message on the drupal.org site if you have any ideas on
how we can improve the module.
Mog.
tech@arthura.fr
File
INSTALL.txt
View source
- *******************************************************************************************
- Warning
- -------
- In order to work, disclaimer need client has JAVASCRIPT ENABLED and ACCEPT COOKIE.
-
- IMPORTANT NOTE FOR THOSE USING PATH.MODULE (URL ALIAS):
-
- Please ensure you have no other pages setup with the URL ALIAS 'disclaimer' when
- installing the disclaimer.module which uses the 'disclaimer' URL Alias by default.
-
- CAUTION ON AGE VERIFICATION:
-
- If you set age form option to your disclaimer, delete cookie and see the modal from "admin/settings/disclaimer", age verification will not work, because of preview windows under modal and CheckAge() js function witch get id of elements.
-
- *******************************************************************************************
-
- Requirements
- ------------
-
- This module require at least version 6.x of Drupal.
- This module require
- Thickbox module (easy setup !) from
- http://drupal.org/project/thickbox
- - AND/OR -
- NyroModal jquery plugin 1.6.1+ from
- http://plugins.jquery.com/project/nyroModal
- - AND/OR -
- jqModal jquery plugin 2009.03.01 +r14+ from
- http://plugins.jquery.com/project/jqModal
- (up to date) http://dev.iceburg.net/jquery/jqModal/
-
- Installation
- ------------
-
- 1. Copy the folder named 'disclaimer' and its contents to the modules directory
- of your Drupal installation (for example 'sites/all/modules/').
-
- -- you can choose Modal script you will set --
-
- -- if you choose thickbox --
-
- 1.1. Download and install 'thickbox' module to the modules directory
- of your Drupal installation (for example 'sites/all/modules/').
- 1.2. Go to 'admin/build/modules' and enable thickbox.
-
- -- if you choose nyroModal --
-
- 1.1. Download NyroModal archive (version 1.6.1+) at
- http://plugins.jquery.com/project/nyroModal
-
- 1.2. Create nyroModal folder in disclaimer module
- sites/all/modules/disclaimer/nyroModal
-
- 1.3. Extract all NyroModal archive content in this folder.
- so directory look likes:
- disclaimer/nyroModal/js/
- disclaimer/nyroModal/img/
- disclaimer/nyroModal/styles/
-
- no need of php files given in NyroModal package.
-
- 1.4. Rename one of the NyroModal script (packed recommended) on "disclaimer/nyromodal/js/"
- to "jquery.nyroModal.js"
-
- 1.5. Module will use nyroModal.css, rename -full version if you need. Edit to your need.
-
- -- if you choose jqModal --
-
- 1.1. Download jqModal script (version 2009.03.01 +r14+) at
- http://plugins.jquery.com/project/jqModal
- (up to date) http://dev.iceburg.net/jquery/jqModal/
- Download jqModal css sample at
- http://dev.iceburg.net/jquery/jqModal/
-
- 1.2. Create jqModal folder in disclaimer module
- sites/all/modules/disclaimer/jqModal
-
- 1.3. Copy both js AND css files in this folder.
- so directory look likes:
- disclaimer/jqModal/jqModal.js
- disclaimer/jqModal/jqModal.css
-
- -- then --
-
- 2. In order to get disclaimer with customizes regions (no sidebar, etc...), you
- can set-up a tpl file. The better way is to copy your page.tpl.php file from
- your theme directory, rename it page-disclaimer.tpl.php and edit to your need
- to delete sidebar zones.
- There is a sample page-disclaimer.tpl.php file in disclaimer module made from
- GARLAND theme. It can produce error on other themes.
-
- 3. Go to 'admin/build/modules' and enable disclaimer.
-
- 4. Go to 'admin/settings/disclaimer' and edit option and content for the disclaimer
- to your need.
-
- *******************************************************************************************
-
- Post a message on the drupal.org site if you have any ideas on
- how we can improve the module.
-
- Mog.
- tech@arthura.fr