๐งฉ 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
Token Integration
Add Joomla CSRF protection to forms, views, and actions automatically.
Summary
Securely inject user- or session-specific tokens into your component using Joomlaโs native token methods โ ideal for protecting forms, AJAX calls, or custom endpoints against CSRF and unauthorized access.
What It Does
JCB enables seamless integration of Joomlaโs built-in token mechanisms into your generated component. This includes:
- Session token injection via
Joomla\CMS\Session\Session::getFormToken()
- Frontend & backend token validation during form submissions
- Token appending to URLs and AJAX requests
- Optional token output via placeholders in templates or snippets
Use Cases
- Secure frontend form submissions to prevent CSRF
- Protect AJAX routes by requiring a valid token
- Add hidden token fields to Custom Admin Views or Site Views
- Validate incoming requests in controllers and custom logic blocks
How to Use It in JCB
- Use the
{{token}}
placeholder in Layouts or Templates to inject the form token dynamically. - Enable โToken Protectionโ when defining custom form actions.
-
Use JCBโs built-in Controller Hooks or Custom Code entities to check token validity:
if (!JSession::checkToken()) { throw new \Exception('Invalid Token', 403); }
Integration Points
- Site View & Admin View Forms
- Custom AJAX controllers
- Inline templates for login, submissions, or public actions
- API endpoints where validation is required
Benefits
- No manual implementation needed โ JCB automates token setup
- Works across all Joomla versions (J3, J4, J5)
- Keeps your component secure with minimal effort
- Prevents forgery or session spoofing during sensitive actions
Conclusion
Token Integration is a small but essential security feature that JCB fully automates. Whether protecting your admin tools or frontend interactions, it ensures your component follows Joomlaโs security standards while remaining fully customizable. Just add the placeholder or toggle a setting โ and youโre secure.