3 options
Learning Drupal 6 module development : a practical tutorial for creating your first Drupal 6 modules with PHP / Matt Butcher.
- Format:
- Book
- Author/Creator:
- Butcher, Matt.
- Series:
- From technologies to solutions.
- From technologies to solutions
- Language:
- English
- Subjects (All):
- Open source software.
- Web site development.
- Web sites--Design.
- Web sites.
- Physical Description:
- 1 online resource (328 p.)
- Edition:
- 1st ed.
- Place of Publication:
- Birmingham : Packt, 2008.
- Language Note:
- English
- Summary:
- A practical tutorial for creating your first Drupal 6 modules with PHP
- Contents:
- 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()
- Notes:
- Includes index.
- ISBN:
- 9786611348298
- 9781281348296
- 1281348295
- 9781282008663
- 1282008668
- 9781847194459
- 1847194451
- 9781847190277
- 1847190278
- OCLC:
- 804665459
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.