04980nam 2200709Ia 450 991045462130332120200520144314.01-281-34829-51-282-00866-897866113482981-84719-445-11-84719-027-8(CKB)1000000000715500(EBL)979965(OCoLC)804665459(SSID)ssj0000332235(PQKBManifestationID)11297045(PQKBTitleCode)TC0000332235(PQKBWorkID)10335651(PQKB)10610150(MiAaPQ)EBC979965(PPN)227996550(Au-PeEL)EBL979965(CaPaEBR)ebr10449772(CaONFJC)MIL134829(EXLCZ)99100000000071550020080606d2008 uy 0engur|n|---|||||txtccrLearning Drupal 6 module development[electronic resource] a practical tutorial for creating your first Drupal 6 modules with PHP /Matt ButcherBirmingham Packt20081 online resource (328 p.)From technologies to solutionsIncludes index.1-84719-444-3 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() ImplementationThe 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 ThemeCreating 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 ThemeCreating 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 FormatOur 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()A practical tutorial for creating your first Drupal 6 modules with PHPFrom technologies to solutions.Open source softwareWeb site developmentWeb sitesDesignElectronic books.Open source software.Web site development.Web sitesDesign.005.3Butcher Matt477697MiAaPQMiAaPQMiAaPQBOOK9910454621303321Learning Drupal 6 module development1996460UNINA