110 likes | 250 Vues
Discover the powerful drag and drop functionality for block placement within various contexts in your web applications. This guide, crafted by Trevor McKeown, explores the essential components like blocks, regions, and context-aware themes that enhance layout management. Learn about configuring modules, creating intuitive interfaces, and integrating conditions with reactions for optimized user experiences. Our comprehensive overview includes examples, best practices, and troubleshooting tips to help you effectively utilize contexts in your projects.
E N D
Contexts and Admin: Drag and Drop Block Placement By Trevor Mckeown Trevor Mckeown: trevor@sublimetechnologies.net
Components in solution • Blocks • Regions • Context • Admin • Module to put nodes in blocks • Node Que Or • Node Block • Many more!
Additional Components • Context Show Regions • Context Auto • A Context Layout Aware Theme
What Are Contexts? : Background Community Trying different approaches for different layout Create by Development Seed (Jeff Miccolis & Young Hahn Panels? Icky …
What Are Contexts? Suite of Modules • Contexts is a group of modules • Context • Context UI • Context Layouts
What Are Context: If … then • Conditions and reactions • Fancy way to do an if statement • If($condition){ do some reaction}
Context: Conditions • Menu • Node Type • Path • Taxonomy • Sitewide • Many more with contrib modules
Context: Reactions • Breadcrumbs • Blocks • Layouts for Contexts Aware themes • Control active menu class
Context Layouts Configuration • It’s all in theme.info • Show example of cube.info
Thank You • Questions? • Comments? • Concerns? • Email me trevor@sublimetechnologies.net