Contents

Introduction

Acknowledgments

About the Author

1 The Basis: Designing the Content and Visual Concept

It All Starts with the Structure

Recognizing User Expectations

Page Layout—Visually Structuring Content

Designing with Grids

Implementation

Push to Front Principle

The Graphical Layout—Visual Appearance Matters

Colors—A Central Element

Designing the Navigation—The Core of the Design

Content Design—To Make It Fun to Read

Font Design—We Do Not Have Many Options

Fixed and Fluid Layouts

2 Accessibility—What Is It?

The Legal Basis

Visual Impairment

Initial Situation and Findings

Technical Aids

What Can We Do?

Motor Disabilities

Initial Situation and Findings

Technical Aids

What Can We Do?

Deafness

Initial Situation and Findings

Technical Assistance

What Can We Do?

Learning Disabilities

Initial Situation and Findings

What Can We Do?

Seniors

Initial Situation and Findings

What Can We Do?

3 CSS and HTML—Getting the Basic Structure into Shape

A Few Words about the History

Which Version of HTML Should I Use?

HTML 4.01 and XHTML 1.0

HTML5

The Basic HTML Structure

A Brief Introduction to CSS

Adding CSS Statements

CSS Selectors

Inheritance

Using Multiple Classes Together

Positioning and Box Model

CSS Hacks and Browser Problems

Conditional Comments

The * Hack

Internet Explorer Again: hasLayout

CSS Tuning

CSS3—A Brief Overview

Vendor Prefixes

Overview of the Three Most Useful CSS Statements

border-radius

box-shadow

linear-gradient

4 Responsive Web Design

But How Does It Work?

CSS3 Media Queries

Option 1—Integration into the Main Stylesheet

Option 2—Integrating Separate Stylesheets

Adapting Graphics and Videos

Using HTML5 Apps

5 PHP and Joomla!

Integrating PHP

Comments

echo

Outputting Strings

Outputting Variable Values

Conditions: if Statements

if Statement

else Statement

For Pros: Accessing Objects and Their Values

Parameter Basics

Using Parameters

6 MooTools

Why MooTools?

MooTools Quick Start—Dollar Functions and Events

The MooTools Core in Action

The Class System

The MooTools Principle

Related Links

7 Tools

HTML Validator and CSS Validator

Web Developer Toolbar

Firebug

Helpful Tools for Accessibility

Colour Contrast Analyser

Accessibility Extensions for Internet Explorer and Mozilla Firefox

Wave

WCAG 2 Checker of the University of Toronto

Tilt 3D

8 Now for the Details: A First Look at Templates

Atomic

beez_20 and beez5

The Template Manager: Styles

The Template Manager: Templates

The Template Preview

Template Details

Installing Templates

9 The Underlying Structure

The Heart of the Matter, the index.php

The css Folder

templateDetails.xml

The images Folder

The html Folder

The javascript Folder

The language Folder

component.php

error.php

template_thumbnail.png and template_preview.png

favicon.ico

The fonts Folder

The index.html

10 The index.php: The Heart of the Matter

The Document Head

Safety First: Security

Which Document Type?

HTML Language Indicator

jdoc: include type:head

Integrating CSS and JavaScript

Integrating MooTools

Reading Direction from Right to Left

And Off We Go: The Body

11 The XML File and the Template Parameters

templateDetails.xml: General Information

Customizing Template Names

Integrating Files and Folders

Defining Module Positions

The Language Files

Template Parameters: config

Adding Your Own Form Fields and Accessing Them

Adding Form Elements

12 The Language Files

How Joomla! Translates Constants to Multiple Languages

Adding Your Own Languages

Joomla! Conventions for Using Language Strings

Language Files in index.php Using the Examples of Skip Links

13 Modules—Dynamics within the Presentation

jdoc:include

The name Attribute

The style Attribute and the Default Styles

Beez Styles

Integrating the Module Flexibly into the Layout

Adapting ID and CSS

The Module Class Suffix

The Menu Module

Horizontal Navigation with Subnavigation

Folded Out Menu

Styling Individual Menu Items via Individual Classes

Link Image

Allocating Individual Link Titles

14 Designing Default Output Individually

Inspecting the Default Output

The Page Class Suffix

Template Overrides

Model-View-Controller

Shifting Output to the Template

Adapting Output

New—A View with Different Output

15 The System Template: Adapting and Modifying Output

System Notices

Integrating the Messages into the index.php File

Adapting the Language

Error Messages

Replacing System Graphics

component.php and How to Do Magic with It

Component View with Search Engine–Friendly URLs

The component.php File as the Basis for Custom Views

offline.php

16 Advanced Template Customization Tricks

When the Reading Direction Changes: Right-to-Left Languages

Integrating RTL CSS

Testing RTL Mode

PHP Browser Switch

PHP Tricks

Structuring the Homepage Differently—Access to the Views

Outputting the Current Date with PHP

17 The Default Templates and Their Features

beez_20 and beez5 Templates

Accessibility in General

beez_20: Selectable Design

Position of the Navigation Column

JavaScript and WAI-ARIA

beez5: Using HTML5

Atomic Template

18 Practical Implementation

Concept of the Beez Templates

19 Step by Step to a New Layout

Step 1: Positioning the Navigation

Problem

Action

Step 2: Filling the Center Column with Content

Problem

Action

Optimizing Step 2: More Meaningful Names for Module Positions

Step 3: Adjusting the Number of Articles

Problem

Action

Step 4: Visually Designing the Header

Problem

Actions

Result

Step 5: Integrating the Module Position for the Header Picture

Problem

Action

Step 6: Adapting the Footer

Problem

Action

Step 7: Adapting the Minimum Height of Content

Problem

Step 8: The First Tests

Font Enlargement

Keyboard Operation

Browser Check

Step 9: Customizing Typography

Problem 1

Action 1

Problem 2

Action 2

Step 10: Formatting Module Headings

Problem

Action

Step 11: Assigning the Background Image to the Homepage Article

Step 12: Final Tests

Validating CSS

Validating HTML

Browser Check

Accessibility Checks

20 Integrating Custom Features

The Header Image—A Background Image?

Editing Module Content

Adapting CSS

Background Images in the Module’s Own HTML

Browser Check

Using HTML5 Effectively

Adding the HTML5 Overrides

Adapting index.php

Adding the JavaScript File to Deal with Internet Explorer

Adapting CSS

21 Final Tasks: Fine-Tuning and Creating an Installable Zip Archive

Fine-Tuning

Creating a Print Stylesheet

Adjusting error.php and offline.php

Right-to-Left View

Removing Superfluous Files

Creating Previews

Changing Favicon

Optimizing index.php

Adapting the XML File

Creating a Zip Archive

Appendix

Useful Links

Joomla!

Assistive Technologies

CSS

HTML5

Design

Typography

Colors

Icons

JavaScript

WAI ARIA

Checker Tools

Helpful Functions

CSS Classes Used and Their Elements

Templates

Components

Modules

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.175.113