By Earl Miles, Lynette Miles

“Even if you’re already a professional Drupal person of CCK, perspectives, or Panels, I’ve without doubt that this e-book gives you numerous new concepts and techniques for buying the main out of those super crucial modules. It definitely has for me.”

Dries Buytaert, founder and venture lead of Drupal, and CTO of Acquia 

With Drupal, internet execs can create full-featured sites with quite a few clicks. Drupal’s center is compact and good documented, yet a lot of Drupal’s huge energy lies elsewhere—in exterior modules. Drupal’s construction Blocks is an authoritative instructional, reference, and cookbook for Drupal’s most useful modules.


The authors are Drupal insiders who’ve spent years growing and assisting those modules—Earl Miles, developer of the perspectives and Panels modules, and Lynette Miles, Drupal documentation crew member. They’ve introduced jointly essential info you won’t locate anyplace else, in addition to huge pattern “recipe” code designed for simple edition and reuse. find out how to

  • Use content material development equipment (CCK) to customise your information enter varieties round your needs
  • Improve website flexibility with Drupal’s node system
  • Add not obligatory box varieties, together with PHP-based fields
  • Customize issues to show info extra attractively and legibly
  • Build robust perspectives question displays
  • Integrate with SQL databases
  • Customize perspectives with relationships, arguments, and filters
  • Optimize question performance
  • Add customized types with the Panels module
  • Maintain complete regulate over websites as you set up into production

This ebook can help you create extra robust, versatile, usable, and potential net sites—whether you’re an online developer, clothier, administrator, architect, or consultant.


The accompanying site comprises all examples, code, and issues offered during this book.

Show description

Read Online or Download Drupal's Building Blocks: Quickly Building Web Sites with CCK, Views, and Panels PDF

Best Computers books

Database Modeling and Design: Logical Design, 4th Edition (The Morgan Kaufmann Series in Data Management Systems)

Database structures and database layout know-how have passed through major evolution in recent times. The relational info version and relational database structures dominate company functions; in flip, they're prolonged by means of different applied sciences like facts warehousing, OLAP, and information mining. How do you version and layout your database program in attention of latest know-how or new company wishes?

Computer Networking: A Top-Down Approach (6th Edition)

&>Computer Networking maintains with an early emphasis on application-layer paradigms and alertness programming interfaces (the best layer), encouraging a hands-on adventure with protocols and networking suggestions, ahead of operating down the protocol stack to extra summary layers. This e-book has turn into the dominant e-book for this direction as a result of the authors’ reputations, the precision of rationalization, the standard of the paintings software, and the price in their personal vitamins.

The Guru's Guide to Transact-SQL

Considering its creation over a decade in the past, the Microsoft SQL Server question language, Transact-SQL, has develop into more and more well known and extra strong. the present model activities such complicated positive factors as OLE Automation help, cross-platform querying amenities, and full-text seek administration. This ebook is the consummate advisor to Microsoft Transact-SQL.

Data Structures and Problem Solving Using Java (4th Edition)

Information constructions and challenge fixing utilizing Java takes a pragmatic and new angle to info buildings that separates interface from implementation. it's compatible for the second one or 3rd programming path.   This e-book presents a realistic creation to facts constructions with an emphasis on summary considering and challenge fixing, in addition to using Java.

Additional info for Drupal's Building Blocks: Quickly Building Web Sites with CCK, Views, and Panels

Show sample text content

Bulk Export the majority export web page presents a mode for exporting all the code that creates a specific view. determine 7-13 is a part of this web page. without difficulty, you could select a number of perspectives to export, and feature the code to be had and simple to shop within the resource keep watch over repository. on the backside of this web page is a field classified “Module identify. ” This box’s objective is that can assist you export a view so you might then simply import without delay right into a module. in the event you input a module identify, elements of the code will comprise pertinent hooks into the module. Convert The Convert tab is probably going to drastically curiosity clients of perspectives 1. perspectives 1 isn't being switched over to Drupal 6, and perspectives 2 isn't being backported to Drupal five. This leaves clients within the unenviable place of getting to improve their Drupal model in addition to perspectives whilst to keep up a functioning site. The Convert device assessments the database to determine if it comprises any perspectives 1 perspectives after which supplies the chance to transform each one such view to the perspectives 2 structure. it's hugely advised that you simply use a try out web site to take action. utilizing a try out mattress to transform the view allows you to then export it and later import to the stay web site as soon as it really is upgraded. you'll want to do the conversion just once, and it may be maybe sooner than time; this eases the ache of upgrading. Wow! book 128 bankruptcy 7 growing perspectives determine 7-13 perspectives Bulk export web page bear in mind that as a result of the broad adjustments made among perspectives 1 and perspectives 2, the particular perspectives usually are altered a bit of by means of the conversion technique. it is important to spend it slow interpreting every one switched over view to make sure that it nonetheless indicates (or doesn’t express) what's anticipated. when you've got now not but upgraded to perspectives 2, contemplate exporting your perspectives from the former model. as soon as the improve is whole, you could import those perspectives through the Import tab. it's going to take you on to the editor and provides you a transparent inspiration instantly if the view wishes paintings prior to being made public once again. With all of those packing containers, payment packing containers, and settings, it’s effortless to lose song of the place you’re going. the subsequent workout takes you thru the production of a brand new view. workout 7-2 making a View: fresh content material during this workout, you are going to create an easy view. earlier than continuing with this workout, ensure you have numerous nodes created for one in every of your content material varieties. this instance will create a default view to be used in showing the newest content material of every kind. Wow! book Views UI 129 1. Navigate to domestic >> Administer >> website construction >> perspectives and click on the upload tab. 2. Use the next values to populate the preliminary view production web page: three. four. five. 6. 7. eight. nine. box worth View identify recent_items View description latest goods published View tag base View style Node observe that this information doesn’t really say “shirts” or establish the other content material kind particularly. we're making a extra universal view which could practice to all content material types—giving us anything we will clone later to create a view for a selected content material variety.

Rated 4.23 of 5 – based on 17 votes