diff --git a/.mokogitea/manifest.xml b/.mokogitea/manifest.xml index a5da9f5..54d103d 100644 --- a/.mokogitea/manifest.xml +++ b/.mokogitea/manifest.xml @@ -20,6 +20,8 @@ PHP joomla + module + mod_mokojoomhero src/ diff --git a/Makefile b/Makefile index ac012bb..91bde1f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # Extension Configuration EXTENSION_NAME := mokojoomhero -EXTENSION_TYPE := template +EXTENSION_TYPE := module # Options: module, plugin, component, package, template EXTENSION_VERSION := 1.0.0 diff --git a/src/component.php b/src/component.php deleted file mode 100644 index 3895ecb..0000000 --- a/src/component.php +++ /dev/null @@ -1,39 +0,0 @@ - - * - * This file is part of a Moko Consulting project. - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - * FILE INFORMATION - * DEFGROUP: MokoJoomHero.Template - * INGROUP: MokoJoomHero - * REPO: https://github.com/mokoconsulting-tech/MokoJoomHero - * PATH: /src/component.php - * VERSION: 01.00.01 - * BRIEF: Component-only output — used when ?tmpl=component strips all template chrome - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Document\HtmlDocument; - -/** @var HtmlDocument $this */ - -$wa = $this->getWebAssetManager(); -$wa->usePreset('template.tpl_mokojoomhero'); - -?> - - -