Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 4.46 KB

File metadata and controls

54 lines (36 loc) · 4.46 KB

JCB! Templates

What Are JCB Templates?

JCB Templates provide modular, reusable view structures for rendering HTML output in Joomla components.
They are used within both site views and custom admin views, functioning as high-level wrappers for your display logic.

Templates typically include or call:

  • Layouts — smaller reusable view fragments
  • Other Templates — to nest and reuse structures
  • PHP Logic & HTML — for dynamic rendering

Much like Joomla's native template system, JCB Templates allow clean separation of logic and presentation, and can be overridden or extended easily.


Why Use Templates in JCB?

Templates help you organize and modularize how your component's output is rendered. They offer:

  • Clear and reusable structure across views
  • Easier maintenance and visual consistency
  • The ability to nest layouts and embed templates
  • Override support for custom behaviors

This system mirrors Joomla's own MVC view rendering and fits naturally into both frontend and backend component workflows.


How Do You Manage Templates in JCB?

Templates are managed directly in the Templates tab within JCB's GUI.

To import a template from this repository:

  1. Click Init in the Templates section.
  2. Select the repository you want to pull from.
  3. Choose the Templates you'd like to import.

You can then:

  • Reset any Template to refresh it from the repo
  • Push updates back if you maintain this repository
  • Or fork the repo to maintain your own version of templates

This process allows rapid syncing, reuse, and sharing of structured view logic across projects.


Index of JCB Templates


Joomla Volunteer Portal Octoleo Llewellyn Telegram Mastodon X (Twitter) GitHub YouTube n8n Docker Hub Open Collective GPG Key