Files
MokoOnyx/wiki/reference/template-overrides.md
T
jmiller 82e04b1818
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Require Docs Update (pull_request) Has been skipped
Universal: PR Check / Wiki Update Reminder (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 6s
Generic: Project CI / Tests (pull_request) Failing after 9s
Generic: Project CI / Lint & Validate (pull_request) Successful in 12s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 9s
Universal: PR Check / Validate PR (pull_request) Failing after 15s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
chore: sync main into dev (resolve infra/doc divergence)
# Conflicts:
#	.mokogitea/workflows/issue-branch.yml
#	CHANGELOG.md
#	SECURITY.md
#	source/html/layouts/joomla/module/card.php
#	source/html/layouts/mokoonyx/article-metadata.php
#	source/media/css/a11y-high-contrast.css
#	source/templateDetails.xml
2026-07-12 19:22:08 -05:00

5.1 KiB

← Back to 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 moko-platform -- Moko Consulting


Repo: MokoOnyx · moko-platform

Revision Date Author Description
1.0 2026-05-09 Moko Consulting Initial version

Repo: MokoOnyx · moko-platform

Field Value
Minimum Version 04.07.00
Platform joomla
Revision Date Author Description
1.0 2026-05-16 Moko Consulting Standards compliance update