panels 3 for designers
DESCRIPTION
An introduction to Panels 3 for people who like crayonsTRANSCRIPT
Panels for designersAn introduction to Panels 3 for people who like
crayons
You do realize, I’m just demoing some moduleanother guy made?
The session
What?
Why?
Basic setup?
+ Views
Workflows & version control
Custom layouts
Jesper WøldicheDesigner
Journalist
Architect
Markup Marine
Danish
Using Drupal since 2008
You?
A word of caution
Earl MilesCreator of Panels
The real Earl Miles(when coding)
Me(while coding)
The workings of PanelsAs I understand it
Config Black Magic Output
Features of Panels
$content
Different layouts and contentA way of serving different layouts and content based on
different criteria.
A way of controllingdisplaysYes, you can do that with node-type.tpl.php and template.php
too…
Making content awareA way of making content aware of context
Why?Reasons to use Panels
One of severaloptions
Reasons to go with Panels
Easy way to theme nodes
Conditional layouts and content
Combining components
Easy export and version control
Context aware content
Easy deployment
Installing panels
Packages
Panels 3.x
Ctools
Extras
Views (2)
CCK
Semantic Views
Semantic CCK
Menu Block
ImageCache etc.
Getting set up
Built in & custom panels
Best friendsforeverViews Content Panes
Exporting Panels
Creating layouts
Adding layouts
sites/all/modules/panels/plugins/layouts/
sites/all/themes/your-theme/layouts/
Anatomy of a customlayout
my_awesome_layout.inc
my-awesome-layout.tpl.php
my_awesome_layout.css
my_awesome_layout.png
What’s in a name?Don’t scare Panels
A few words onstyling
my_awesome_layout.css#panels-dnd-main
Selectors on pages / variantsClasses and IDs for pages
Selectors on contentClasses and IDs for panes
Good o’le CCK and Views
Or take the easy way outSemantic Views and Semantic CCK
Questions?