README.txt in Page Style 5
Same filename and directory in other branches
Drupal Page Style Module ------------------------ Author - Christian Zwahlen info@zwahlendesign.ch Requires - Drupal 5, jQuery Plugin: jQuery Cookie plugin (http://plugins.jquery.com/project/Cookie) License - GPL (see LICENSE.txt) Description ----------- This module display a style changer on the page and in the browser menue for a better web accessibility. Advantages ---------- 1. No building of extra themes required! Black/White, White/Black and Yellow/Blue. 2. Style changer in the browser available. 3. One click function. No tutorial required. 4. Same handling in any browser (shortcuts). 5. Adjustable. 6. Select menu availabe. 7. Display current page style. 8. Browser independent. Features -------- * WCAG and BITV conform. * No Javascript and Cookies required. jQuery support. * No CSS required. * Style display settings. * Caching mode: "Normal" compatible. * Uniform markin of menu, based on the open source browser Firefox 2.0 (www.mozilla.com/en-US/firefox/) (Page Style). * Themable. See: theme_pagestyle_text(), theme_pagestyle_image() or theme_pagestyle_form($form). * No JavaScript support available. Installation ------------ 1. Unpack and move the pagestyle modul to the Drupal directory "sites/all/modules/". 2. Download the "jQuery Cookie plugin" (http://plugins.jquery.com/project/Cookie). Place the plugin (jquery.cookie.js) in the module directory "sites/all/modules/pagestyle". 3. Go to "Administer", "Site building", "Modules" ("admin/build/modules") and enable the module "Page Style". 4. Run the database update script "update.php" if required. Settings -------- 1. Go to "Administer", "User management", "Permissions" ("admin/user/permissions") and set the different roles. 2. Go to "Administer", "Site building", "Blocks" ("admin/build/block") and make the block "Page Style" visibile (optional). 3. Go to "Administer", "Site configuration", "Page Style configuration" ("admin/settings/pagestyle") and change the settings if you want. 4. Go to "Administer", "Site configuration", "Localization", "Import" ("admin/settings/locale/language/import") and import your language file (for German "sites/all/modules/pagestyle/po/de.po") if it is necessary. Theming ------- Create Themes: 1. Copy the files/directorys in your theme: 1. pagestyle.css 2. images 2. Copy the code oft the functions in your template.php file: 1. theme_pagestyle_text() 2. theme_pagestyle_image() 3. theme_pagestyle_form($form) 3. Rename the functions to the name of your theme ("mytheme") or use "phptemplate": 1. mytheme_pagestyle_text() 2. mytheme_pagestyle_image() 3. mytheme_pagestyle_form($form) 4. Edit the PHP and CSS code in the files. Example: Image links, not in a list: Change the following elements: <ul>/</ul> to: <p>/</p> <li></li> to: <span class="display_hidden"> | </span>. WCAG/BITV 10.5: Adjacent hyperlinks have to be separated by printable characters surrounded by spaces. Warning: Not for: WCAG/BITV 13.6! Links are not in a list. 5. Edit the images. Create your own icons. The source file is in the directory: "/images/source/pagestyle.xcf". PNG images are for new browsers and GIF images for old browsers (Internet Explorer 6). Download Themes: Edited templates are available from the developers website: http://www.zwahlendesign.ch/pagestyle. Translations ------------ German Importieren Sie die Datei "sites/all/modules/pagestyle/po/de.po". unter "admin/settings/locale/language/import" in die Deutsche Sprache, wenn es nötig ist. Other languages Open the file "sites/all/modules/pagestyle/po/pagestyle.pot". in poEdit (http://www.poedit.net) or KBabel (http://kbabel.kde.org), translate the module in your language and save the file in "sites/all/modules/pagestyle/po/" with a file suffix ".po". More Information ---------------- More help and information on: "Administer", "Help", "Page Style" ("admin/help/pagestyle").
File
README.txtView source
-
- Drupal Page Style Module
- ------------------------
- Author - Christian Zwahlen info@zwahlendesign.ch
- Requires - Drupal 5, jQuery Plugin: jQuery Cookie plugin (http://plugins.jquery.com/project/Cookie)
- License - GPL (see LICENSE.txt)
-
- Description
- -----------
- This module display a style changer on the page and in the browser menue for a better web accessibility.
-
- Advantages
- ----------
- 1. No building of extra themes required! Black/White, White/Black and Yellow/Blue.
- 2. Style changer in the browser available.
- 3. One click function. No tutorial required.
- 4. Same handling in any browser (shortcuts).
- 5. Adjustable.
- 6. Select menu availabe.
- 7. Display current page style.
- 8. Browser independent.
-
- Features
- --------
- * WCAG and BITV conform.
- * No Javascript and Cookies required. jQuery support.
- * No CSS required.
- * Style display settings.
- * Caching mode: "Normal" compatible.
- * Uniform markin of menu, based on the open source browser Firefox 2.0 (www.mozilla.com/en-US/firefox/) (Page Style).
- * Themable. See: theme_pagestyle_text(), theme_pagestyle_image() or theme_pagestyle_form($form).
- * No JavaScript support available.
-
- Installation
- ------------
- 1. Unpack and move the pagestyle modul to the Drupal directory "sites/all/modules/".
- 2. Download the "jQuery Cookie plugin" (http://plugins.jquery.com/project/Cookie). Place the plugin (jquery.cookie.js) in the module directory "sites/all/modules/pagestyle".
- 3. Go to "Administer", "Site building", "Modules" ("admin/build/modules") and enable the module "Page Style".
- 4. Run the database update script "update.php" if required.
-
- Settings
- --------
- 1. Go to "Administer", "User management", "Permissions" ("admin/user/permissions") and set the different roles.
- 2. Go to "Administer", "Site building", "Blocks" ("admin/build/block") and make the block "Page Style" visibile (optional).
- 3. Go to "Administer", "Site configuration", "Page Style configuration" ("admin/settings/pagestyle") and change the settings if you want.
- 4. Go to "Administer", "Site configuration", "Localization", "Import" ("admin/settings/locale/language/import") and import your language file (for German "sites/all/modules/pagestyle/po/de.po") if it is necessary.
-
- Theming
- -------
- Create Themes:
- 1. Copy the files/directorys in your theme:
- 1. pagestyle.css
- 2. images
- 2. Copy the code oft the functions in your template.php file:
- 1. theme_pagestyle_text()
- 2. theme_pagestyle_image()
- 3. theme_pagestyle_form($form)
- 3. Rename the functions to the name of your theme ("mytheme") or use "phptemplate":
- 1. mytheme_pagestyle_text()
- 2. mytheme_pagestyle_image()
- 3. mytheme_pagestyle_form($form)
- 4. Edit the PHP and CSS code in the files. Example: Image links, not in a list: Change the following elements:
-
/
to: /
-
to: | .
- WCAG/BITV 10.5: Adjacent hyperlinks have to be separated by printable characters surrounded by spaces. Warning: Not for: WCAG/BITV 13.6! Links are not in a list.
- 5. Edit the images. Create your own icons. The source file is in the directory: "/images/source/pagestyle.xcf". PNG images are for new browsers and GIF images for old browsers (Internet Explorer 6).
-
- Download Themes: Edited templates are available from the developers website: http://www.zwahlendesign.ch/pagestyle.
-
- Translations
- ------------
- German
- Importieren Sie die Datei "sites/all/modules/pagestyle/po/de.po". unter "admin/settings/locale/language/import" in die Deutsche Sprache, wenn es nötig ist.
-
- Other languages
- Open the file "sites/all/modules/pagestyle/po/pagestyle.pot". in poEdit (http://www.poedit.net) or KBabel (http://kbabel.kde.org), translate the module in your language and save the file in "sites/all/modules/pagestyle/po/" with a file suffix ".po".
-
- More Information
- ----------------
- More help and information on: "Administer", "Help", "Page Style" ("admin/help/pagestyle").