๐งฉ Architecture & Core Logic
- Super Powers
- Joomla Powers
- Compile Native Components, Plugins & Modules
- Multi-Version Support
- Conditional Logic Injection
- Reusable Admin Views
- Dynamic GET Builder
- Round-Trip Code Integration
- Custom Admin Views
- Site Views
- Dynamic Dashboards
- Model Linking Between Views
- Shared Field Reuse Across Views
- Drag & Drop Field Mapping
- Dynamic Field Visibility
- Independent Packaging
๐ Joomla CMS Integration
๐งฑ Custom Code System (Powerful Dual Feature)
๐ Field Type System
๐ Snippets, Templates, Layouts, Libraries
- Snippets Reusable Html Blocks
- Layouts Reusable Php Render Templates
- Templates Page Level Views Linked To Custom Admin Site Views
- Libraries JS CSS Assets Linked To UI
- CDN Local Toggle For Library Delivery
- Media Folder Injection With Override Support
- Repository Push Pull Reset Workflow
- Init Snippets Layouts Templates Via Gui
๐ฆ Packages
๐งฉ Architecture & Core Logic
๐ File & Code Management
๐ง Code Reuse & Blueprints
๐ Joomla CMS Integration
๐จ Visual GUI & UX
๐ Internationalization
๐ฆ Packaging & Distribution
โ๏ธ Compiler Engine Features
๐งฑ Custom Code System
๐ Field Type System
๐ Dynamic GET (Visual SQL Engine)
๐ Snippets, Templates, Layouts, Libraries
๐ Documentation & Metadata
๐ Analytics & Insights
๐งฉ Architecture & Core Logic
- Super Powers
- Joomla Powers
- Compile Native Components, Plugins & Modules
- Multi-Version Support
- Conditional Logic Injection
- Reusable Admin Views
- Dynamic GET Builder
- Round-Trip Code Integration
- Custom Admin Views
- Site Views
- Dynamic Dashboards
- Model Linking Between Views
- Shared Field Reuse Across Views
- Drag & Drop Field Mapping
- Dynamic Field Visibility
- Independent Packaging
๐ Joomla CMS Integration
- Token Integration
- ACL Per View, Field, Item
- Field-Based Joomla Config Generation
- Support For Joomla Categories/Tags/Custom Fields
- CLI-Ready Components
- Joomla Update Server Integration
- Version-Aware Language String Compilation
- Remote Publishing to Custom Repo Update Streams
๐ Field Type System
- Field Types Define Templates And Data Types
- Gui Defined Rules Required Unique Nullable
- Save Get Hooks Per Field
- Database Schema Auto Generated From Field Settings
- Per Display Field Rendering Config List Edit
- Create Dynamic Models With Modals Selectors
- Conditional Js And Css Per Field
๐ Snippets, Templates, Layouts, Libraries
- Snippets Reusable Html Blocks
- Layouts Reusable Php Render Templates
- Templates Page Level Views Linked To Custom Admin Site Views
- Libraries JS CSS Assets Linked To UI
- CDN Local Toggle For Library Delivery
- Media Folder Injection With Override Support
- Repository Push Pull Reset Workflow
- Init Snippets Layouts Templates Via Gui
Snippets Reusable HTML Blocks
modular, reusable chunks of HTML (and optionally PHP) content that you can insert into layouts, templates, and viewsโdramatically speeding up development and ensuring consistency across your UI
๐ What Are Snippets?
Snippets are short reusable pieces of frontend or backend markup that:
- Contain HTML and optional PHP logic
- Can include dynamic placeholders (e.g., {field_value}, {item->title})
- Are editable from the GUI
- Are version-controlled and package-aware
- Can be injected into Templates, Layouts, and Custom Admin Views
Snippets are useful for any repeated HTML patternโsuch as:
- Field display blocks
- Info cards
- Alerts/notifications
- Button groups
- Reusable form sections
๐งฐ Where Are They Used?
- Layouts: You can inject one or more Snippets into layout blocks
- Templates: Templates can load Snippets dynamically
- Views: Both Admin and Site Views can render Snippets conditionally
- Libraries: JS/CSS assets can be linked to Snippets if needed
๐ Features
- โ GUI Editor with HTML/PHP support
- โ Named and keyed for reuse
- โ Linked to Layouts, Templates, Views
- โ Can contain nested placeholders
- โ Support for round-trip code integration
- โ Easily shareable and resettable across projects
๐ฆ Snippets vs Layouts vs Templates
Type | Purpose | Use Case |
---|---|---|
Snippets | Reusable markup chunks | Field groups, cards, quick HTML |
Layouts | PHP render logic for sections | Repeating rows, list views |
Templates | Page-level view structure | Full output of a Site/Admin View |
๐ก Example Use Cases
- A consistent user profile card:
+ avatar + action button - A notice section used in both Admin and Site interfaces
- A form block reused across multiple layouts (e.g. billing form)
๐ Maintenance & Version Control
Like other JCB entities, Snippets are:
- Resettable to shared blueprints
- Forkable for long-term customization
- Pushable to external repositories
๐ Related Features
- Layouts
- Templates
- Libraries
- Field Injection Points
- Round-Trip Code Tags
๐งฉ Conclusion
Snippets reduce repetition and bring smart modularity to your Joomla component views. With GUI-driven editing, version-aware linking, and dynamic placeholder supportโtheyโre your go-to tool for clean, maintainable interface design. Use them once, reuse them everywhere.