Vai al contenuto principale della pagina

Learning Drupal 6 module development [[electronic resource] ] : a practical tutorial for creating your first Drupal 6 modules with PHP / / Matt Butcher



(Visualizza in formato marc)    (Visualizza in BIBFRAME)

Autore: Butcher Matt Visualizza persona
Titolo: Learning Drupal 6 module development [[electronic resource] ] : a practical tutorial for creating your first Drupal 6 modules with PHP / / Matt Butcher Visualizza cluster
Pubblicazione: Birmingham, : Packt, 2008
Descrizione fisica: 1 online resource (328 p.)
Disciplina: 005.3
Soggetto topico: Open source software
Web site development
Web sites - Design
Note generali: Includes index.
Nota di contenuto: Cover; Table of Contents; Preface; Chapter 1: Introduction to Drupal Modules; Drupal's Architecture; Module Architecture; Core Modules; Hooks; Themes; Crucial Drupal Concepts; Nodes; Comments Are Not Nodes; Users; Access and Security; Blocks and Page Rendering; Menus; Forms; Database and Schema APIs; Developers' Tools; Developer Module; Coder Module; A Word on Our Demonstration Site; Summary; Chapter 2: Creating Our First Module; Starting Out; A Place for the Module; Creating a .info File; A Basic .module File; Our Goal: A Block Hook; Starting the .module; The hook_block() Implementation
The t() FunctionA view Operation; Installing a Module; Step 1: Copying the Module; Step 2: Enabling the Module; Step 3: Displaying the Module's Content; Using Goodreads Data; Modifying the Block Hook; Retrieving XML Content over HTTP; The watchdog() Function; Processing the HTTP Results; Formatting the Block's Contents; Finishing Touches: hook_help(); Summary; Chapter 3: The Theme System; The Theme System's Architecture; Theme Templates; Theme Engines; Theme Hooks; Creating a Custom Theme; Organization of Themes; Sub-themes (Derivative Themes); How Each Theme Functions; Creating a Theme
Creating the Theme DirectoryA .info File; A CSS Stylesheet; A PHPTemplate Theme; Template Structure; A Page Template for Descartes; Using PHP to Override Theme Behavior; template.php Gotchas; Creating a Screenshot; From Here to a Full Theme; Summary; Chapter 4: Theming Modules; Our Target Module: What We Want; Creating a Custom Content Type; Using the Administration Interface to Create a Content Type; Content and Nodes; The Foundations of the Module; A Simple Database Lookup; Getting the Node ID; Getting the Node's Content; Theming Inside a Module; Registering a Theme
Creating a Theme Hook FunctionAdding a Stylesheet; Overriding the Default Theme from a Theme; A Quick Clarification; Overriding the Default Theme's CSS; Overriding Layout with Templates; Summary; Chapter 5: Using JavaScript and AJAX/JSON in Modules; Picking up Where We Left Off; Introducing jQuery; Modifying HTML with jQuery; Checking for JavaScript Support with Drupal; Namespaces in JavaScript; Drupal's Namespace; A Drupal Function: Drupal.jsEnabled(); Delaying JavaScript Execution with jQuery; Including JavaScript from the Module's Theme; Writing a Drupal AJAX/JSON Service; The JSON Format
Our Module RoadmapServer Side: Defining a New Page; Creating a JSON Message; Mapping a Function to a URL; Passing PHP Settings to JavaScript; Client Side: AJAX Handlers; A JavaScript Function to Get JSON Content; Adding an Event Handler; Summary; Chapter 6: An Administration Module; The emailusers Module; The Beginning of the Module; Mail Configuration; Registering an Administration Page; A Detailed Look at the Path; Marking the Path as an Administration Page; Path Registration Parameters; Defining the Callback Function; Handling Forms with the Forms API (FAPI)
Loading a Form with drupal_get_form()
Sommario/riassunto: A practical tutorial for creating your first Drupal 6 modules with PHP
Titolo autorizzato: Learning Drupal 6 module development  Visualizza cluster
ISBN: 1-281-34829-5
1-282-00866-8
9786611348298
1-84719-445-1
1-84719-027-8
Formato: Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione: Inglese
Record Nr.: 9910782703403321
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui
Serie: From technologies to solutions.