124 lines
5.1 KiB
Markdown
124 lines
5.1 KiB
Markdown
[← Back to Home](Home)
|
|
|
|
# Template Overrides
|
|
|
|
MokoOnyx includes template overrides for Joomla core modules, third-party extensions, and layout files. These overrides are located in `templates/mokoonyx/html/`.
|
|
|
|
---
|
|
|
|
## Joomla Core Module Overrides
|
|
|
|
| Module | Override File(s) | Description |
|
|
|--------|-----------------|-------------|
|
|
| `mod_articles_archive` | `default.php` | Articles archive module |
|
|
| `mod_articles_categories` | `default.php` | Article categories listing |
|
|
| `mod_articles_category` | `default.php` | Articles from a single category |
|
|
| `mod_articles_latest` | `default.php` | Latest articles module |
|
|
| `mod_articles_news` | `default.php` | News flash / articles newsflash |
|
|
| `mod_articles_popular` | `default.php` | Most-read articles |
|
|
| `mod_banners` | `default.php` | Banner display module |
|
|
| `mod_breadcrumbs` | `default.php` | Breadcrumb navigation |
|
|
| `mod_custom` | `default.php`, `hero.php` | Custom HTML module (includes a hero layout variant) |
|
|
| `mod_feed` | `default.php` | RSS/Atom feed display |
|
|
| `mod_finder` | `default.php` | Smart Search box |
|
|
| `mod_footer` | `default.php` | Footer information |
|
|
| `mod_languages` | `default.php` | Language switcher |
|
|
| `mod_login` | `default.php` | Login form |
|
|
| `mod_menu` | `default.php`, `horizontal.php`, `horizontal_component.php`, `horizontal_heading.php`, `horizontal_separator.php`, `horizontal_url.php`, `mainmenu.php`, `mainmenu_component.php`, `mainmenu_heading.php`, `mainmenu_separator.php`, `mainmenu_url.php` | Menu module with horizontal and main menu layouts |
|
|
| `mod_random_image` | `default.php` | Random image display |
|
|
| `mod_related_items` | `default.php` | Related articles |
|
|
| `mod_stats` | `default.php` | Site statistics |
|
|
| `mod_syndicate` | `default.php` | Syndication / RSS link |
|
|
| `mod_tags_popular` | `default.php` | Popular tags |
|
|
| `mod_tags_similar` | `default.php` | Similar tags |
|
|
| `mod_users_latest` | `default.php` | Latest registered users |
|
|
| `mod_whosonline` | `default.php` | Who's online |
|
|
| `mod_wrapper` | `default.php` | iFrame wrapper |
|
|
|
|
---
|
|
|
|
## Third-Party Extension Overrides
|
|
|
|
### Community Builder
|
|
|
|
| Module | Override File(s) | Description |
|
|
|--------|-----------------|-------------|
|
|
| `mod_cblogin` | `default.php`, `default_logout.php` | Community Builder login/logout module |
|
|
| `mod_comprofilermoderator` | `default.php` | CB moderator panel |
|
|
| `mod_comprofileronline` | `default.php` | CB online users |
|
|
|
|
### DPCalendar
|
|
|
|
| Module | Override File(s) | Description |
|
|
|--------|-----------------|-------------|
|
|
| `mod_dpcalendar_counter` | `default.php` | Event countdown timer |
|
|
| `mod_dpcalendar_map` | `default.php` | Event map display |
|
|
| `mod_dpcalendar_mini` | `default.php`, `default_icons.php`, `default_map.php`, `default_quickadd.php`, `_scripts.php` | Mini calendar widget |
|
|
| `mod_dpcalendar_upcoming` | `default.php`, `_scripts.php` | Upcoming events list |
|
|
|
|
### JoomGallery
|
|
|
|
| Component View | Override File(s) | Description |
|
|
|---------------|-----------------|-------------|
|
|
| `com_joomgallery/category` | `default.php`, `default_cat.php` | Gallery category view |
|
|
| `com_joomgallery/gallery` | `default.php` | Main gallery view |
|
|
| `com_joomgallery/image` | `default.php` | Single image view |
|
|
|
|
---
|
|
|
|
## Component Overrides
|
|
|
|
| Component | View | Override File(s) | Description |
|
|
|-----------|------|-----------------|-------------|
|
|
| `com_content` | `article` | `toc-left.php`, `toc-right.php` | Article views with Table of Contents positioned left or right |
|
|
|
|
---
|
|
|
|
## Layout Overrides
|
|
|
|
| Layout | Override File | Description |
|
|
|--------|--------------|-------------|
|
|
| `joomla.module` | `card.php` | Module chrome -- wraps any module in a Bootstrap card layout |
|
|
|
|
---
|
|
|
|
## Hero Layout (mod_custom)
|
|
|
|
The `hero.php` layout for `mod_custom` provides a full-width hero/banner module. It uses the hero CSS variables (`--hero-*`) for styling. Assign a custom HTML module to positions like `banner` or `top-a` and select the "hero" layout in the module's Advanced tab.
|
|
|
|
---
|
|
|
|
## Menu Layouts
|
|
|
|
MokoOnyx provides two specialized menu layouts:
|
|
|
|
- **horizontal** -- A horizontal navigation bar with dropdown support, used for the main site navigation
|
|
- **mainmenu** -- An enhanced main menu layout with support for component links, headings, separators, and URL items
|
|
|
|
Each layout has sub-templates for different menu item types: `_component`, `_heading`, `_separator`, and `_url`.
|
|
|
|
---
|
|
|
|
*Built with [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API) -- Moko Consulting*
|
|
|
|
---
|
|
|
|
*Repo: [MokoOnyx](https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx) · [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/wiki/Home)*
|
|
|
|
| Revision | Date | Author | Description |
|
|
|---|---|---|---|
|
|
| 1.0 | 2026-05-09 | Moko Consulting | Initial version |
|
|
|
|
---
|
|
|
|
*Repo: [MokoOnyx](https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx) · [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/wiki/Home)*
|
|
|
|
| Field | Value |
|
|
|---|---|
|
|
| Minimum Version | 04.07.00 |
|
|
| Platform | joomla |
|
|
|
|
| Revision | Date | Author | Description |
|
|
|---|---|---|---|
|
|
| 1.0 | 2026-05-16 | Moko Consulting | Standards compliance update |
|