LEADER 04946nam 2200697Ia 450 001 9910782703403321 005 20200520144314.0 010 $a1-281-34829-5 010 $a1-282-00866-8 010 $a9786611348298 010 $a1-84719-445-1 010 $a1-84719-027-8 035 $a(CKB)1000000000715500 035 $a(EBL)979965 035 $a(OCoLC)804665459 035 $a(SSID)ssj0000332235 035 $a(PQKBManifestationID)11297045 035 $a(PQKBTitleCode)TC0000332235 035 $a(PQKBWorkID)10335651 035 $a(PQKB)10610150 035 $a(MiAaPQ)EBC979965 035 $a(Au-PeEL)EBL979965 035 $a(CaPaEBR)ebr10449772 035 $a(CaONFJC)MIL134829 035 $a(PPN)228030722 035 $a(EXLCZ)991000000000715500 100 $a20080606d2008 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aLearning Drupal 6 module development$b[electronic resource] $ea practical tutorial for creating your first Drupal 6 modules with PHP /$fMatt Butcher 210 $aBirmingham $cPackt$d2008 215 $a1 online resource (328 p.) 225 1 $aFrom technologies to solutions 300 $aIncludes index. 311 $a1-84719-444-3 327 $aCover; 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 327 $aThe 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 327 $aCreating 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 327 $aCreating 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 327 $aOur 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) 327 $aLoading a Form with drupal_get_form() 330 $aA practical tutorial for creating your first Drupal 6 modules with PHP 410 0$aFrom technologies to solutions. 606 $aOpen source software 606 $aWeb site development 606 $aWeb sites$xDesign 615 0$aOpen source software. 615 0$aWeb site development. 615 0$aWeb sites$xDesign. 676 $a005.3 700 $aButcher$b Matt$0477697 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910782703403321 996 $aLearning Drupal 6 module development$93697401 997 $aUNINA