Your SlideShare is downloading. ×
Drupal - Blocks vs Context vs Panels
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Drupal - Blocks vs Context vs Panels

41,658
views

Published on

This is the presentation that I put together for DrupalCamp Philadelphia. It discusses the difference in building pages in Drupal using core block system vs Context module or Panels.

This is the presentation that I put together for DrupalCamp Philadelphia. It discusses the difference in building pages in Drupal using core block system vs Context module or Panels.

Published in: Education, Technology, Business

0 Comments
24 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
41,658
On Slideshare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
400
Comments
0
Likes
24
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CONSULTING DEVELOPMENT TRAINING & don’t forget videos!
  • 2.  
  • 3. Building Pages Blocks vs Context vs Panels
  • 4. What is a page?
    • HTML Rendered by Drupal
      • Through a series of hooks and preprocessors
    How does Drupal build pages?
  • 9. BLOCKS
  • 10. What is a block? How does the current block system work?
    • Regions
      • provided by theme
    • Visibility
    • http://drupal.org/handbook/modules/block
  • 14. CONTEXT The advanced page builder
  • 15. What is Context? “ Context allows you to manage contextual conditions and reactions for different portions of your site.” - http://drupal.org/project/context It is a module. http://drupal.org/project/context
  • 16. Context UI
  • 17. What does Context allow us to do?
    • Much more powerful than block system.
    • Multiple context can exist per page.
  • 21. Panels The visual page builder
  • 22. What is Panels?
      “ At its core it is a drag and drop content manager that lets you visually design a layout and place content within that layout.”
  • 23. PANELS UI
  • 24. What does Panels allow us to do?
    • Drag-n-drop
    • 25. Much more powerful than block system.
    • Built-in Caching mechanism
    • 28. Content within page is aware of other content
    • 29. Not limited to template regions
  • 30. What are the benefits of using Panels or Context?
    • More efficient
    • 31. Rapid Development
    • 32. Control more than blocks
    • 33. Exportable ❤
    • 34. The FUTURE
  • 35. PANELS vs CONTEXT Pros Cons
    • Path dependent
    • 40. Complex UI
    Pros Cons
    • Abstract
    • 44. Limited layout options
  • 45. When should I use Panels?
    • Client or site-builders need to move content around
    • 46. Complex page layouts
    • 47. URL structured layouts
      • Variants – gives more flexibility
    When should I use Context?
    • Developer driven site
    • 48. Theme provides enough regions
      • Context Layout – gives more flexibility
    • Context driven layouts

×