58 Commits

Author SHA1 Message Date
gitea-actions[bot] 6fd0fac417 chore(version): pre-release bump to 01.02.30-dev [skip ci] 2026-07-07 10:17:45 +00:00
jmiller ec5535e1a6 Merge pull request 'feat(menu): COM_MOKOSUITESTORELOCATOR_SHORT + stem rename MOKOJOOM→MOKOSUITE (#75)' (#77) from fix/short-menu-constant into dev
Universal: Auto Version Bump / Version Bump (push) Has been skipped
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 10s
2026-07-07 10:15:48 +00:00
gitea-actions[bot] 7df76a22b6 chore(version): pre-release bump to 01.02.29-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 1s
2026-07-06 23:46:54 +00:00
jmiller a3645006c3 feat(menu): use COM_MOKOSUITESTORELOCATOR_SHORT for admin menu label (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 18s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:46:34 +00:00
gitea-actions[bot] 250781823a chore(version): pre-release bump to 01.02.28-dev [skip ci] 2026-07-06 23:43:23 +00:00
jmiller 74cabacea1 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:43:11 +00:00
gitea-actions[bot] c8024cd97d chore(version): pre-release bump to 01.02.27-dev [skip ci] 2026-07-06 23:40:03 +00:00
jmiller 3192a557da fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:39:46 +00:00
gitea-actions[bot] d5e2f887ff chore(version): pre-release bump to 01.02.26-dev [skip ci] 2026-07-06 23:35:19 +00:00
jmiller 08271aeb5f fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:35:05 +00:00
gitea-actions[bot] c3dd09c958 chore(version): pre-release bump to 01.02.25-dev [skip ci] 2026-07-06 23:31:41 +00:00
jmiller 36bf519559 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:31:25 +00:00
gitea-actions[bot] 36312dc797 chore(version): pre-release bump to 01.02.24-dev [skip ci] 2026-07-06 23:25:34 +00:00
jmiller 6748e6aa40 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 17s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:25:16 +00:00
gitea-actions[bot] bca78d2f4a chore(version): pre-release bump to 01.02.23-dev [skip ci] 2026-07-06 23:22:32 +00:00
jmiller 8ea6ab74f9 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 19s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:22:16 +00:00
gitea-actions[bot] 8d331dfde5 chore(version): pre-release bump to 01.02.22-dev [skip ci] 2026-07-06 23:21:14 +00:00
jmiller 244d40153d fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 21s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:20:56 +00:00
gitea-actions[bot] ba78364612 chore(version): pre-release bump to 01.02.21-dev [skip ci] 2026-07-06 23:20:02 +00:00
jmiller 3f4c594e53 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:19:47 +00:00
gitea-actions[bot] 7649bb6d5f chore(version): pre-release bump to 01.02.20-dev [skip ci] 2026-07-06 23:19:24 +00:00
jmiller 7ce881484e fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 22s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:19:02 +00:00
gitea-actions[bot] 537e5ae201 chore(version): pre-release bump to 01.02.19-dev [skip ci] 2026-07-06 23:18:24 +00:00
jmiller 7e5ee2f805 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 23s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:18:02 +00:00
gitea-actions[bot] 3150be9d62 chore(version): pre-release bump to 01.02.18-dev [skip ci] 2026-07-06 23:16:40 +00:00
jmiller 826a481f46 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:16:30 +00:00
gitea-actions[bot] ba949edfa1 chore(version): pre-release bump to 01.02.17-dev [skip ci] 2026-07-06 23:15:55 +00:00
jmiller 7c00d84ab1 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 10s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:15:45 +00:00
gitea-actions[bot] 3abffc9869 chore(version): pre-release bump to 01.02.16-dev [skip ci] 2026-07-06 23:15:19 +00:00
jmiller 395ce82501 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 24s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:14:59 +00:00
gitea-actions[bot] f39676e641 chore(version): pre-release bump to 01.02.15-dev [skip ci] 2026-07-06 23:13:44 +00:00
jmiller be394993b3 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:13:28 +00:00
gitea-actions[bot] e253342450 chore(version): pre-release bump to 01.02.14-dev [skip ci] 2026-07-06 23:11:52 +00:00
jmiller 4b5e858a36 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:11:38 +00:00
gitea-actions[bot] 3eb649beee chore(version): pre-release bump to 01.02.13-dev [skip ci] 2026-07-06 23:10:18 +00:00
jmiller dedefcf7b0 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:10:06 +00:00
gitea-actions[bot] ef4c167599 chore(version): pre-release bump to 01.02.12-dev [skip ci] 2026-07-06 23:08:06 +00:00
jmiller a6f34a0a12 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:07:52 +00:00
gitea-actions[bot] e1b3da6f35 chore(version): pre-release bump to 01.02.11-dev [skip ci] 2026-07-06 23:06:54 +00:00
jmiller beddff324d fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:06:39 +00:00
gitea-actions[bot] bd2db0ac0e chore(version): pre-release bump to 01.02.10-dev [skip ci] 2026-07-06 23:04:47 +00:00
jmiller 962045a669 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:04:34 +00:00
gitea-actions[bot] 6c4eea6640 chore(version): pre-release bump to 01.02.09-dev [skip ci] 2026-07-06 23:04:06 +00:00
jmiller b6b84229a7 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:03:51 +00:00
gitea-actions[bot] 4cfd2de355 chore(version): pre-release bump to 01.02.08-dev [skip ci] 2026-07-06 23:03:18 +00:00
jmiller dc3285cee5 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:03:06 +00:00
gitea-actions[bot] e75078499c chore(version): pre-release bump to 01.02.07-dev [skip ci] 2026-07-06 23:02:27 +00:00
jmiller 1609021d84 fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:02:16 +00:00
gitea-actions[bot] 8067ea789c chore(version): pre-release bump to 01.02.06-dev [skip ci] 2026-07-06 23:01:19 +00:00
jmiller c0d2ae8c8d fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 23s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:00:58 +00:00
gitea-actions[bot] 30e766e76c chore(version): pre-release bump to 01.02.05-dev [skip ci] 2026-07-06 23:00:26 +00:00
jmiller 378de76a9b fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 23:00:11 +00:00
gitea-actions[bot] 60cb60e734 chore(version): pre-release bump to 01.02.04-dev [skip ci] 2026-07-06 22:56:27 +00:00
jmiller cf8630e4bf fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 22:56:11 +00:00
gitea-actions[bot] 2aa232da8c chore(version): pre-release bump to 01.02.03-dev [skip ci] 2026-07-06 22:47:57 +00:00
jmiller 94321fecbd Merge pull request 'fix: honest installer success for package postflight' (#76) from fix/honest-install-success into dev
Universal: Auto Version Bump / Version Bump (push) Has been skipped
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 20s
2026-07-06 16:17:49 +00:00
gitea-actions[bot] 69fb3c0d7b chore(version): pre-release bump to 01.02.02-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 1s
2026-07-06 16:14:20 +00:00
jmiller 6b5573b12a fix: honest installer success for MokoSuiteStoreLocator package
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
Package postflight now verifies every bundled child extension declared
in the manifest actually landed in #__extensions before enqueueing the
license/next-steps message. If any child is missing it enqueues an error
and returns instead of reporting a false success. Verification fails open
so a transient DB/IO glitch never turns a good install into a false
failure. Housekeeping (download-key restore) still runs unconditionally.

Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
2026-07-06 11:14:07 -05:00
35 changed files with 277 additions and 167 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Automation
# VERSION: 01.01.03
# VERSION: 01.02.30
# BRIEF: Auto-create feature branch when an issue is opened
name: "Universal: Issue Branch"
+1
View File
@@ -51,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- SQL migration compatibility: removed `DROP COLUMN IF EXISTS` (MySQL 8.0.13+ only) in favor of plain `DROP COLUMN`
- Honest installer success: package postflight now verifies every bundled child extension (component, modules, plugin) actually landed in `#__extensions` before showing the license/next-steps message; if any is missing it shows an error and suppresses the success message instead of reporting a false success. Fails open so a transient DB/IO glitch never fakes a failure.
## [1.1.0] - 2026-06-23
+1 -1
View File
@@ -14,7 +14,7 @@
DEFGROUP:
INGROUP: Project.Documentation
REPO:
VERSION: 01.01.03
VERSION: 01.02.30
PATH: ./CODE_OF_CONDUCT.md
BRIEF: Reference + packaging repo for Moko Consulting Developer GPT Other Default
-->
+1 -1
View File
@@ -19,7 +19,7 @@
DEFGROUP: mokoconsulting-tech.Template-Joomla
INGROUP: MokoStandards.Governance
REPO: https://github.com/mokoconsulting-tech/Template-Joomla
VERSION: 01.01.03
VERSION: 01.02.30
PATH: /GOVERNANCE.md
BRIEF: Project governance rules, roles, and decision process for Template-Joomla
-->
+1 -1
View File
@@ -23,7 +23,7 @@ DEFGROUP: [PROJECT_NAME]
INGROUP: [PROJECT_NAME].Documentation
REPO: [REPOSITORY_URL]
PATH: /SECURITY.md
VERSION: 01.01.03
VERSION: 01.02.30
BRIEF: Security vulnerability reporting and handling policy
-->
@@ -26,11 +26,11 @@
<field
name="parent_id"
type="sql"
label="COM_MOKOJOOMSTORELOCATOR_CATEGORY_PARENT"
label="COM_MOKOSUITESTORELOCATOR_CATEGORY_PARENT"
default="0"
query="SELECT id AS value, title AS text FROM #__mokosuitestorelocator_categories WHERE published = 1 ORDER BY ordering"
>
<option value="0">COM_MOKOJOOMSTORELOCATOR_CATEGORY_NO_PARENT</option>
<option value="0">COM_MOKOSUITESTORELOCATOR_CATEGORY_NO_PARENT</option>
</field>
<field
@@ -52,18 +52,18 @@
</field>
</fieldset>
<fieldset name="appearance" label="COM_MOKOJOOMSTORELOCATOR_FIELDSET_APPEARANCE">
<fieldset name="appearance" label="COM_MOKOSUITESTORELOCATOR_FIELDSET_APPEARANCE">
<field
name="color"
type="color"
label="COM_MOKOJOOMSTORELOCATOR_CATEGORY_COLOR"
label="COM_MOKOSUITESTORELOCATOR_CATEGORY_COLOR"
default=""
/>
<field
name="marker_icon"
type="media"
label="COM_MOKOJOOMSTORELOCATOR_CATEGORY_MARKER_ICON"
label="COM_MOKOSUITESTORELOCATOR_CATEGORY_MARKER_ICON"
/>
</fieldset>
</form>
@@ -4,7 +4,7 @@
<field
name="search"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FILTER_SEARCH_LABEL"
label="COM_MOKOSUITESTORELOCATOR_FILTER_SEARCH_LABEL"
hint="JSEARCH_FILTER"
/>
@@ -4,7 +4,7 @@
<field
name="search"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FILTER_SEARCH_LABEL"
label="COM_MOKOSUITESTORELOCATOR_FILTER_SEARCH_LABEL"
hint="JSEARCH_FILTER"
inputmode="search"
/>
@@ -29,8 +29,8 @@
>
<option value="a.title ASC">JGLOBAL_TITLE_ASC</option>
<option value="a.title DESC">JGLOBAL_TITLE_DESC</option>
<option value="a.city ASC">COM_MOKOJOOMSTORELOCATOR_CITY_ASC</option>
<option value="a.city DESC">COM_MOKOJOOMSTORELOCATOR_CITY_DESC</option>
<option value="a.city ASC">COM_MOKOSUITESTORELOCATOR_CITY_ASC</option>
<option value="a.city DESC">COM_MOKOSUITESTORELOCATOR_CITY_DESC</option>
<option value="a.published ASC">JSTATUS_ASC</option>
<option value="a.published DESC">JSTATUS_DESC</option>
<option value="a.id ASC">JGRID_HEADING_ID_ASC</option>
@@ -43,58 +43,58 @@
</field>
</fieldset>
<fieldset name="categories" label="COM_MOKOJOOMSTORELOCATOR_FIELDSET_CATEGORIES">
<fieldset name="categories" label="COM_MOKOSUITESTORELOCATOR_FIELDSET_CATEGORIES">
<field
name="categories"
type="sql"
label="COM_MOKOJOOMSTORELOCATOR_CATEGORIES"
label="COM_MOKOSUITESTORELOCATOR_CATEGORIES"
multiple="true"
query="SELECT id AS value, title AS text FROM #__mokosuitestorelocator_categories WHERE published = 1 ORDER BY ordering"
/>
</fieldset>
<fieldset name="address" label="COM_MOKOJOOMSTORELOCATOR_FIELDSET_ADDRESS">
<fieldset name="address" label="COM_MOKOSUITESTORELOCATOR_FIELDSET_ADDRESS">
<field
name="address"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_ADDRESS"
label="COM_MOKOSUITESTORELOCATOR_FIELD_ADDRESS"
size="60"
/>
<field
name="city"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_CITY"
label="COM_MOKOSUITESTORELOCATOR_FIELD_CITY"
size="40"
/>
<field
name="state"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_STATE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_STATE"
size="40"
/>
<field
name="postcode"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_POSTCODE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_POSTCODE"
size="20"
/>
<field
name="country"
type="text"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_COUNTRY"
label="COM_MOKOSUITESTORELOCATOR_FIELD_COUNTRY"
size="40"
/>
</fieldset>
<fieldset name="coordinates" label="COM_MOKOJOOMSTORELOCATOR_FIELDSET_COORDINATES">
<fieldset name="coordinates" label="COM_MOKOSUITESTORELOCATOR_FIELDSET_COORDINATES">
<field
name="latitude"
type="number"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_LATITUDE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_LATITUDE"
step="0.00000001"
min="-90"
max="90"
@@ -103,18 +103,18 @@
<field
name="longitude"
type="number"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_LONGITUDE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_LONGITUDE"
step="0.00000001"
min="-180"
max="180"
/>
</fieldset>
<fieldset name="contact" label="COM_MOKOJOOMSTORELOCATOR_FIELDSET_CONTACT">
<fieldset name="contact" label="COM_MOKOSUITESTORELOCATOR_FIELDSET_CONTACT">
<field
name="phone"
type="tel"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_PHONE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_PHONE"
size="30"
/>
@@ -128,23 +128,23 @@
<field
name="website"
type="url"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_WEBSITE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_WEBSITE"
size="60"
/>
<field
name="hours"
type="textarea"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_HOURS"
label="COM_MOKOSUITESTORELOCATOR_FIELD_HOURS"
rows="5"
/>
</fieldset>
<fieldset name="image" label="COM_MOKOJOOMSTORELOCATOR_FIELDSET_IMAGE">
<fieldset name="image" label="COM_MOKOSUITESTORELOCATOR_FIELDSET_IMAGE">
<field
name="image"
type="media"
label="COM_MOKOJOOMSTORELOCATOR_FIELD_IMAGE"
label="COM_MOKOSUITESTORELOCATOR_FIELD_IMAGE"
/>
</fieldset>
</form>
@@ -3,79 +3,79 @@
; License: GNU General Public License version 3 or later; see LICENSE
COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"
COM_MOKOJOOMSTORELOCATOR="Store Locator"
COM_MOKOJOOMSTORELOCATOR_DESC="A store locator component for managing and displaying location listings."
COM_MOKOJOOMSTORELOCATOR_LOCATIONS="Locations"
COM_MOKOJOOMSTORELOCATOR_LOCATION_NEW="New Location"
COM_MOKOJOOMSTORELOCATOR_LOCATION_EDIT="Edit Location"
COM_MOKOJOOMSTORELOCATOR_TABLE_CAPTION="Store Location List"
COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"
COM_MOKOSUITESTORELOCATOR_DESC="A store locator component for managing and displaying location listings."
COM_MOKOSUITESTORELOCATOR_LOCATIONS="Locations"
COM_MOKOSUITESTORELOCATOR_LOCATION_NEW="New Location"
COM_MOKOSUITESTORELOCATOR_LOCATION_EDIT="Edit Location"
COM_MOKOSUITESTORELOCATOR_TABLE_CAPTION="Store Location List"
COM_MOKOJOOMSTORELOCATOR_CITY="City"
COM_MOKOJOOMSTORELOCATOR_STATE="State"
COM_MOKOSUITESTORELOCATOR_CITY="City"
COM_MOKOSUITESTORELOCATOR_STATE="State"
COM_MOKOJOOMSTORELOCATOR_FIELDSET_ADDRESS="Address"
COM_MOKOJOOMSTORELOCATOR_FIELDSET_COORDINATES="Coordinates"
COM_MOKOJOOMSTORELOCATOR_FIELDSET_CONTACT="Contact Information"
COM_MOKOJOOMSTORELOCATOR_FIELDSET_IMAGE="Image"
COM_MOKOSUITESTORELOCATOR_FIELDSET_ADDRESS="Address"
COM_MOKOSUITESTORELOCATOR_FIELDSET_COORDINATES="Coordinates"
COM_MOKOSUITESTORELOCATOR_FIELDSET_CONTACT="Contact Information"
COM_MOKOSUITESTORELOCATOR_FIELDSET_IMAGE="Image"
COM_MOKOJOOMSTORELOCATOR_FIELD_ADDRESS="Street Address"
COM_MOKOJOOMSTORELOCATOR_FIELD_CITY="City"
COM_MOKOJOOMSTORELOCATOR_FIELD_STATE="State / Province"
COM_MOKOJOOMSTORELOCATOR_FIELD_POSTCODE="Postal Code"
COM_MOKOJOOMSTORELOCATOR_FIELD_COUNTRY="Country"
COM_MOKOJOOMSTORELOCATOR_FIELD_LATITUDE="Latitude"
COM_MOKOJOOMSTORELOCATOR_FIELD_LONGITUDE="Longitude"
COM_MOKOJOOMSTORELOCATOR_FIELD_PHONE="Phone"
COM_MOKOJOOMSTORELOCATOR_FIELD_WEBSITE="Website"
COM_MOKOJOOMSTORELOCATOR_FIELD_HOURS="Business Hours"
COM_MOKOJOOMSTORELOCATOR_FIELD_IMAGE="Location Image"
COM_MOKOSUITESTORELOCATOR_FIELD_ADDRESS="Street Address"
COM_MOKOSUITESTORELOCATOR_FIELD_CITY="City"
COM_MOKOSUITESTORELOCATOR_FIELD_STATE="State / Province"
COM_MOKOSUITESTORELOCATOR_FIELD_POSTCODE="Postal Code"
COM_MOKOSUITESTORELOCATOR_FIELD_COUNTRY="Country"
COM_MOKOSUITESTORELOCATOR_FIELD_LATITUDE="Latitude"
COM_MOKOSUITESTORELOCATOR_FIELD_LONGITUDE="Longitude"
COM_MOKOSUITESTORELOCATOR_FIELD_PHONE="Phone"
COM_MOKOSUITESTORELOCATOR_FIELD_WEBSITE="Website"
COM_MOKOSUITESTORELOCATOR_FIELD_HOURS="Business Hours"
COM_MOKOSUITESTORELOCATOR_FIELD_IMAGE="Location Image"
COM_MOKOJOOMSTORELOCATOR_FILTER_SEARCH_LABEL="Search Locations"
COM_MOKOJOOMSTORELOCATOR_CITY_ASC="City ascending"
COM_MOKOJOOMSTORELOCATOR_CITY_DESC="City descending"
COM_MOKOSUITESTORELOCATOR_FILTER_SEARCH_LABEL="Search Locations"
COM_MOKOSUITESTORELOCATOR_CITY_ASC="City ascending"
COM_MOKOSUITESTORELOCATOR_CITY_DESC="City descending"
COM_MOKOJOOMSTORELOCATOR_LOCATION_SAVE_SUCCESS="Location saved successfully."
COM_MOKOJOOMSTORELOCATOR_LOCATIONS_N_ITEMS_PUBLISHED="%d location(s) published."
COM_MOKOJOOMSTORELOCATOR_LOCATIONS_N_ITEMS_UNPUBLISHED="%d location(s) unpublished."
COM_MOKOJOOMSTORELOCATOR_LOCATIONS_N_ITEMS_DELETED="%d location(s) deleted."
COM_MOKOSUITESTORELOCATOR_LOCATION_SAVE_SUCCESS="Location saved successfully."
COM_MOKOSUITESTORELOCATOR_LOCATIONS_N_ITEMS_PUBLISHED="%d location(s) published."
COM_MOKOSUITESTORELOCATOR_LOCATIONS_N_ITEMS_UNPUBLISHED="%d location(s) unpublished."
COM_MOKOSUITESTORELOCATOR_LOCATIONS_N_ITEMS_DELETED="%d location(s) deleted."
COM_MOKOJOOMSTORELOCATOR_ERROR_TITLE_REQUIRED="A location title is required."
COM_MOKOJOOMSTORELOCATOR_ERROR_LATITUDE_RANGE="Latitude must be between -90 and 90."
COM_MOKOJOOMSTORELOCATOR_ERROR_LONGITUDE_RANGE="Longitude must be between -180 and 180."
COM_MOKOSUITESTORELOCATOR_ERROR_TITLE_REQUIRED="A location title is required."
COM_MOKOSUITESTORELOCATOR_ERROR_LATITUDE_RANGE="Latitude must be between -90 and 90."
COM_MOKOSUITESTORELOCATOR_ERROR_LONGITUDE_RANGE="Longitude must be between -180 and 180."
COM_MOKOJOOMSTORELOCATOR_GEOCODING_SUCCESS="Coordinates were auto-populated from the address via OpenStreetMap."
COM_MOKOJOOMSTORELOCATOR_GEOCODING_FAILED="Geocoding failed: %s. You can enter coordinates manually."
COM_MOKOJOOMSTORELOCATOR_GET_DIRECTIONS="Get Directions"
COM_MOKOSUITESTORELOCATOR_GEOCODING_SUCCESS="Coordinates were auto-populated from the address via OpenStreetMap."
COM_MOKOSUITESTORELOCATOR_GEOCODING_FAILED="Geocoding failed: %s. You can enter coordinates manually."
COM_MOKOSUITESTORELOCATOR_GET_DIRECTIONS="Get Directions"
COM_MOKOJOOMSTORELOCATOR_IMPORT="Import Locations"
COM_MOKOJOOMSTORELOCATOR_IMPORT_DESC="Import store locations from a CSV file."
COM_MOKOJOOMSTORELOCATOR_IMPORT_UPLOAD="Upload CSV File"
COM_MOKOJOOMSTORELOCATOR_IMPORT_FILE="CSV File"
COM_MOKOJOOMSTORELOCATOR_IMPORT_FILE_DESC="Select a CSV file with location data. First row must be column headers."
COM_MOKOJOOMSTORELOCATOR_IMPORT_DELIMITER="Delimiter"
COM_MOKOJOOMSTORELOCATOR_IMPORT_DELIMITER_DESC="The character separating fields in your CSV file."
COM_MOKOJOOMSTORELOCATOR_IMPORT_SUCCESS="%d location(s) imported successfully."
COM_MOKOJOOMSTORELOCATOR_IMPORT_SKIPPED="%d row(s) skipped due to errors."
COM_MOKOJOOMSTORELOCATOR_IMPORT_NO_FILE="No file was uploaded."
COM_MOKOJOOMSTORELOCATOR_IMPORT_INVALID_FILE="The uploaded file is not a valid CSV."
COM_MOKOJOOMSTORELOCATOR_IMPORT_NO_ROWS="The CSV file contains no data rows."
COM_MOKOJOOMSTORELOCATOR_IMPORT_MISSING_TITLE="Row %d: Title is required."
COM_MOKOSUITESTORELOCATOR_IMPORT="Import Locations"
COM_MOKOSUITESTORELOCATOR_IMPORT_DESC="Import store locations from a CSV file."
COM_MOKOSUITESTORELOCATOR_IMPORT_UPLOAD="Upload CSV File"
COM_MOKOSUITESTORELOCATOR_IMPORT_FILE="CSV File"
COM_MOKOSUITESTORELOCATOR_IMPORT_FILE_DESC="Select a CSV file with location data. First row must be column headers."
COM_MOKOSUITESTORELOCATOR_IMPORT_DELIMITER="Delimiter"
COM_MOKOSUITESTORELOCATOR_IMPORT_DELIMITER_DESC="The character separating fields in your CSV file."
COM_MOKOSUITESTORELOCATOR_IMPORT_SUCCESS="%d location(s) imported successfully."
COM_MOKOSUITESTORELOCATOR_IMPORT_SKIPPED="%d row(s) skipped due to errors."
COM_MOKOSUITESTORELOCATOR_IMPORT_NO_FILE="No file was uploaded."
COM_MOKOSUITESTORELOCATOR_IMPORT_INVALID_FILE="The uploaded file is not a valid CSV."
COM_MOKOSUITESTORELOCATOR_IMPORT_NO_ROWS="The CSV file contains no data rows."
COM_MOKOSUITESTORELOCATOR_IMPORT_MISSING_TITLE="Row %d: Title is required."
COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_TITLE="Import from FocalPoint"
COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_DESC="Migrate locations from an installed FocalPoint (Shack Locations) component. Coordinates, custom fields (email, website, hours), and metadata are mapped automatically."
COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_BUTTON="Import FocalPoint Locations"
COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_SUCCESS="%d location(s) imported from FocalPoint."
COM_MOKOJOOMSTORELOCATOR_IMPORT_FILE_TOO_LARGE="The uploaded file exceeds the 2 MB size limit."
COM_MOKOSUITESTORELOCATOR_IMPORT_FP_TITLE="Import from FocalPoint"
COM_MOKOSUITESTORELOCATOR_IMPORT_FP_DESC="Migrate locations from an installed FocalPoint (Shack Locations) component. Coordinates, custom fields (email, website, hours), and metadata are mapped automatically."
COM_MOKOSUITESTORELOCATOR_IMPORT_FP_BUTTON="Import FocalPoint Locations"
COM_MOKOSUITESTORELOCATOR_IMPORT_FP_SUCCESS="%d location(s) imported from FocalPoint."
COM_MOKOSUITESTORELOCATOR_IMPORT_FILE_TOO_LARGE="The uploaded file exceeds the 2 MB size limit."
COM_MOKOJOOMSTORELOCATOR_CATEGORIES="Categories"
COM_MOKOJOOMSTORELOCATOR_CATEGORY_NEW="New Category"
COM_MOKOJOOMSTORELOCATOR_CATEGORY_EDIT="Edit Category"
COM_MOKOJOOMSTORELOCATOR_CATEGORY_PARENT="Parent Category"
COM_MOKOJOOMSTORELOCATOR_CATEGORY_NO_PARENT="- No Parent -"
COM_MOKOJOOMSTORELOCATOR_CATEGORY_COLOR="Color"
COM_MOKOJOOMSTORELOCATOR_CATEGORY_MARKER_ICON="Custom Marker Icon"
COM_MOKOJOOMSTORELOCATOR_CATEGORIES_TABLE_CAPTION="Store Location Categories"
COM_MOKOJOOMSTORELOCATOR_ERROR_CATEGORY_TITLE_REQUIRED="A category title is required."
COM_MOKOSUITESTORELOCATOR_CATEGORIES="Categories"
COM_MOKOSUITESTORELOCATOR_CATEGORY_NEW="New Category"
COM_MOKOSUITESTORELOCATOR_CATEGORY_EDIT="Edit Category"
COM_MOKOSUITESTORELOCATOR_CATEGORY_PARENT="Parent Category"
COM_MOKOSUITESTORELOCATOR_CATEGORY_NO_PARENT="- No Parent -"
COM_MOKOSUITESTORELOCATOR_CATEGORY_COLOR="Color"
COM_MOKOSUITESTORELOCATOR_CATEGORY_MARKER_ICON="Custom Marker Icon"
COM_MOKOSUITESTORELOCATOR_CATEGORIES_TABLE_CAPTION="Store Location Categories"
COM_MOKOSUITESTORELOCATOR_ERROR_CATEGORY_TITLE_REQUIRED="A category title is required."
COM_MOKOJOOMSTORELOCATOR_FIELDSET_CATEGORIES="Categories"
COM_MOKOJOOMSTORELOCATOR_FIELDSET_APPEARANCE="Appearance"
COM_MOKOSUITESTORELOCATOR_FIELDSET_CATEGORIES="Categories"
COM_MOKOSUITESTORELOCATOR_FIELDSET_APPEARANCE="Appearance"
@@ -3,6 +3,6 @@
; License: GNU General Public License version 3 or later; see LICENSE
COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"
COM_MOKOJOOMSTORELOCATOR="Store Locator"
COM_MOKOJOOMSTORELOCATOR_DESC="A store locator component for managing and displaying location listings."
COM_MOKOJOOMSTORELOCATOR_LOCATIONS="Locations"
COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"
COM_MOKOSUITESTORELOCATOR_DESC="A store locator component for managing and displaying location listings."
COM_MOKOSUITESTORELOCATOR_LOCATIONS="Locations"
@@ -59,7 +59,7 @@ class ImportController extends BaseController
if (!$csvFile || $csvFile['error'] !== UPLOAD_ERR_OK || !is_uploaded_file($csvFile['tmp_name']))
{
$this->setMessage(Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_NO_FILE'), 'error');
$this->setMessage(Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_NO_FILE'), 'error');
$this->setRedirect(Route::_('index.php?option=com_mokosuitestorelocator&view=import', false));
return;
@@ -68,7 +68,7 @@ class ImportController extends BaseController
// Enforce 2 MB file size limit
if ($csvFile['size'] > 2 * 1024 * 1024)
{
$this->setMessage(Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_FILE_TOO_LARGE'), 'error');
$this->setMessage(Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_FILE_TOO_LARGE'), 'error');
$this->setRedirect(Route::_('index.php?option=com_mokosuitestorelocator&view=import', false));
return;
@@ -79,7 +79,7 @@ class ImportController extends BaseController
if ($ext !== 'csv' && $ext !== 'txt')
{
$this->setMessage(Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_INVALID_FILE'), 'error');
$this->setMessage(Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_INVALID_FILE'), 'error');
$this->setRedirect(Route::_('index.php?option=com_mokosuitestorelocator&view=import', false));
return;
@@ -92,7 +92,7 @@ class ImportController extends BaseController
if (!$mime || !\in_array($mime, $allowedMimes, true))
{
$this->setMessage(Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_INVALID_FILE'), 'error');
$this->setMessage(Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_INVALID_FILE'), 'error');
$this->setRedirect(Route::_('index.php?option=com_mokosuitestorelocator&view=import', false));
return;
@@ -102,12 +102,12 @@ class ImportController extends BaseController
if ($result['imported'] > 0)
{
$this->setMessage(Text::sprintf('COM_MOKOJOOMSTORELOCATOR_IMPORT_SUCCESS', $result['imported']));
$this->setMessage(Text::sprintf('COM_MOKOSUITESTORELOCATOR_IMPORT_SUCCESS', $result['imported']));
}
if ($result['skipped'] > 0)
{
$this->setMessage(Text::sprintf('COM_MOKOJOOMSTORELOCATOR_IMPORT_SKIPPED', $result['skipped']), 'warning');
$this->setMessage(Text::sprintf('COM_MOKOSUITESTORELOCATOR_IMPORT_SKIPPED', $result['skipped']), 'warning');
}
$this->setRedirect(Route::_('index.php?option=com_mokosuitestorelocator&view=locations', false));
@@ -138,12 +138,12 @@ class ImportController extends BaseController
if ($result['imported'] > 0)
{
$this->setMessage(Text::sprintf('COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_SUCCESS', $result['imported']));
$this->setMessage(Text::sprintf('COM_MOKOSUITESTORELOCATOR_IMPORT_FP_SUCCESS', $result['imported']));
}
if ($result['skipped'] > 0)
{
$this->setMessage(Text::sprintf('COM_MOKOJOOMSTORELOCATOR_IMPORT_SKIPPED', $result['skipped']), 'warning');
$this->setMessage(Text::sprintf('COM_MOKOSUITESTORELOCATOR_IMPORT_SKIPPED', $result['skipped']), 'warning');
}
foreach ($result['errors'] as $error)
@@ -25,7 +25,7 @@ class LocationController extends FormController
* @var string
* @since 1.0.0
*/
protected $text_prefix = 'COM_MOKOJOOMSTORELOCATOR_LOCATION';
protected $text_prefix = 'COM_MOKOSUITESTORELOCATOR_LOCATION';
/**
* The view list to redirect to after save.
@@ -25,7 +25,7 @@ class LocationsController extends AdminController
* @var string
* @since 1.0.0
*/
protected $text_prefix = 'COM_MOKOJOOMSTORELOCATOR_LOCATIONS';
protected $text_prefix = 'COM_MOKOSUITESTORELOCATOR_LOCATIONS';
/**
* Proxy for getModel.
@@ -99,7 +99,7 @@ class LocationModel extends AdminModel
$data['latitude'] = $coords['lat'];
$data['longitude'] = $coords['lng'];
Factory::getApplication()->enqueueMessage(
Text::_('COM_MOKOJOOMSTORELOCATOR_GEOCODING_SUCCESS'),
Text::_('COM_MOKOSUITESTORELOCATOR_GEOCODING_SUCCESS'),
'success'
);
}
@@ -252,7 +252,7 @@ class LocationModel extends AdminModel
catch (\Exception $e)
{
Factory::getApplication()->enqueueMessage(
Text::sprintf('COM_MOKOJOOMSTORELOCATOR_GEOCODING_FAILED', $e->getMessage()),
Text::sprintf('COM_MOKOSUITESTORELOCATOR_GEOCODING_FAILED', $e->getMessage()),
'warning'
);
}
@@ -42,7 +42,7 @@ class HtmlView extends BaseHtmlView
protected function addToolbar(): void
{
ToolbarHelper::title(Text::_('COM_MOKOJOOMSTORELOCATOR_CATEGORIES'), 'folder');
ToolbarHelper::title(Text::_('COM_MOKOSUITESTORELOCATOR_CATEGORIES'), 'folder');
ToolbarHelper::addNew('category.add');
ToolbarHelper::publish('categories.publish', 'JTOOLBAR_PUBLISH', true);
ToolbarHelper::unpublish('categories.unpublish', 'JTOOLBAR_UNPUBLISH', true);
@@ -42,7 +42,7 @@ class HtmlView extends BaseHtmlView
$isNew = ($this->item->id == 0);
ToolbarHelper::title(
Text::_('COM_MOKOJOOMSTORELOCATOR_CATEGORY_' . ($isNew ? 'NEW' : 'EDIT')),
Text::_('COM_MOKOSUITESTORELOCATOR_CATEGORY_' . ($isNew ? 'NEW' : 'EDIT')),
'folder'
);
@@ -32,7 +32,7 @@ class HtmlView extends BaseHtmlView
*/
public function display($tpl = null): void
{
ToolbarHelper::title(Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT'), 'upload');
ToolbarHelper::title(Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT'), 'upload');
parent::display($tpl);
}
@@ -71,7 +71,7 @@ class HtmlView extends BaseHtmlView
$isNew = ($this->item->id == 0);
ToolbarHelper::title(
Text::_('COM_MOKOJOOMSTORELOCATOR_LOCATION_' . ($isNew ? 'NEW' : 'EDIT')),
Text::_('COM_MOKOSUITESTORELOCATOR_LOCATION_' . ($isNew ? 'NEW' : 'EDIT')),
'location'
);
@@ -82,11 +82,11 @@ class HtmlView extends BaseHtmlView
*/
protected function addToolbar(): void
{
ToolbarHelper::title(Text::_('COM_MOKOJOOMSTORELOCATOR_LOCATIONS'), 'location');
ToolbarHelper::title(Text::_('COM_MOKOSUITESTORELOCATOR_LOCATIONS'), 'location');
ToolbarHelper::addNew('location.add');
ToolbarHelper::publish('locations.publish', 'JTOOLBAR_PUBLISH', true);
ToolbarHelper::unpublish('locations.unpublish', 'JTOOLBAR_UNPUBLISH', true);
ToolbarHelper::deleteList('', 'locations.delete', 'JTOOLBAR_DELETE');
ToolbarHelper::custom('import.display', 'upload', '', 'COM_MOKOJOOMSTORELOCATOR_IMPORT', false);
ToolbarHelper::custom('import.display', 'upload', '', 'COM_MOKOSUITESTORELOCATOR_IMPORT', false);
}
}
@@ -31,7 +31,7 @@ use Joomla\CMS\Router\Route;
<?php else : ?>
<table class="table" id="categoryList">
<caption class="visually-hidden">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_CATEGORIES_TABLE_CAPTION'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_CATEGORIES_TABLE_CAPTION'); ?>
</caption>
<thead>
<tr>
@@ -42,10 +42,10 @@ use Joomla\CMS\Router\Route;
<?php echo Text::_('JGLOBAL_TITLE'); ?>
</th>
<th scope="col" class="w-5 text-center">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_CATEGORY_COLOR'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_CATEGORY_COLOR'); ?>
</th>
<th scope="col" class="w-10 text-center d-none d-md-table-cell">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_LOCATIONS'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_LOCATIONS'); ?>
</th>
<th scope="col" class="w-5 text-center">
<?php echo Text::_('JSTATUS'); ?>
@@ -36,7 +36,7 @@ HTMLHelper::_('behavior.keepalive');
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'appearance', Text::_('COM_MOKOJOOMSTORELOCATOR_FIELDSET_APPEARANCE')); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'appearance', Text::_('COM_MOKOSUITESTORELOCATOR_FIELDSET_APPEARANCE')); ?>
<div class="row">
<div class="col-lg-6">
<?php echo $this->form->renderField('color'); ?>
@@ -22,12 +22,12 @@ use Joomla\CMS\Session\Session;
<div class="col-lg-8">
<div class="card">
<div class="card-body">
<h3><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_UPLOAD'); ?></h3>
<p class="text-muted"><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_FILE_DESC'); ?></p>
<h3><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_UPLOAD'); ?></h3>
<p class="text-muted"><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_FILE_DESC'); ?></p>
<div class="mb-3">
<label for="csv_file" class="form-label">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_FILE'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_FILE'); ?>
</label>
<input type="file" name="jform[csv_file]" id="csv_file"
class="form-control" accept=".csv,text/csv" required />
@@ -35,7 +35,7 @@ use Joomla\CMS\Session\Session;
<div class="mb-3">
<label for="delimiter" class="form-label">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_DELIMITER'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_DELIMITER'); ?>
</label>
<select name="delimiter" id="delimiter" class="form-select" style="width: auto;">
<option value=","><?php echo Text::_('Comma (,)'); ?></option>
@@ -48,7 +48,7 @@ use Joomla\CMS\Session\Session;
<div class="mb-3">
<button type="submit" class="btn btn-primary">
<span class="icon-upload" aria-hidden="true"></span>
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT'); ?>
</button>
<a href="<?php echo Route::_('index.php?option=com_mokosuitestorelocator&view=locations'); ?>"
class="btn btn-secondary ms-2">
@@ -62,13 +62,13 @@ use Joomla\CMS\Session\Session;
<div class="col-lg-4">
<div class="card mb-3">
<div class="card-body">
<h4><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_TITLE'); ?></h4>
<p class="text-muted"><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_DESC'); ?></p>
<h4><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_FP_TITLE'); ?></h4>
<p class="text-muted"><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_FP_DESC'); ?></p>
<form action="<?php echo Route::_('index.php?option=com_mokosuitestorelocator&task=import.focalpoint'); ?>"
method="post">
<button type="submit" class="btn btn-outline-primary w-100">
<span class="icon-download" aria-hidden="true"></span>
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_IMPORT_FP_BUTTON'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_IMPORT_FP_BUTTON'); ?>
</button>
<?php echo HTMLHelper::_('form.token'); ?>
</form>
@@ -37,7 +37,7 @@ HTMLHelper::_('behavior.keepalive');
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'categories', Text::_('COM_MOKOJOOMSTORELOCATOR_FIELDSET_CATEGORIES')); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'categories', Text::_('COM_MOKOSUITESTORELOCATOR_FIELDSET_CATEGORIES')); ?>
<div class="row">
<div class="col-lg-9">
<?php echo $this->form->renderField('categories'); ?>
@@ -45,7 +45,7 @@ HTMLHelper::_('behavior.keepalive');
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'address', Text::_('COM_MOKOJOOMSTORELOCATOR_FIELDSET_ADDRESS')); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'address', Text::_('COM_MOKOSUITESTORELOCATOR_FIELDSET_ADDRESS')); ?>
<div class="row">
<div class="col-lg-6">
<?php echo $this->form->renderField('address'); ?>
@@ -61,7 +61,7 @@ HTMLHelper::_('behavior.keepalive');
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'contact', Text::_('COM_MOKOJOOMSTORELOCATOR_FIELDSET_CONTACT')); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'contact', Text::_('COM_MOKOSUITESTORELOCATOR_FIELDSET_CONTACT')); ?>
<div class="row">
<div class="col-lg-6">
<?php echo $this->form->renderField('phone'); ?>
@@ -31,7 +31,7 @@ use Joomla\CMS\Router\Route;
<?php else : ?>
<table class="table" id="locationList">
<caption class="visually-hidden">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_TABLE_CAPTION'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_TABLE_CAPTION'); ?>
</caption>
<thead>
<tr>
@@ -42,10 +42,10 @@ use Joomla\CMS\Router\Route;
<?php echo Text::_('JGLOBAL_TITLE'); ?>
</th>
<th scope="col" class="w-10 d-none d-md-table-cell">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_CITY'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_CITY'); ?>
</th>
<th scope="col" class="w-10 d-none d-md-table-cell">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_STATE'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_STATE'); ?>
</th>
<th scope="col" class="w-5 text-center">
<?php echo Text::_('JSTATUS'); ?>
@@ -15,14 +15,14 @@
-->
<extension type="component" method="upgrade">
<name>com_mokosuitestorelocator</name>
<version>01.01.03</version>
<version>01.02.30</version>
<creationDate>2026-06-23</creationDate>
<author>Moko Consulting</author>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
<authorUrl>https://mokoconsulting.tech</authorUrl>
<copyright>Copyright (C) 2026 Moko Consulting. All rights reserved.</copyright>
<license>GNU General Public License version 3 or later; see LICENSE</license>
<description>COM_MOKOJOOMSTORELOCATOR_DESC</description>
<description>COM_MOKOSUITESTORELOCATOR_DESC</description>
<namespace path="src">Moko\Component\MokoSuiteStoreLocator</namespace>
@@ -67,11 +67,11 @@
<folder>tmpl</folder>
</files>
<menu>COM_MOKOJOOMSTORELOCATOR</menu>
<menu>COM_MOKOSUITESTORELOCATOR_SHORT</menu>
<submenu>
<menu link="option=com_mokosuitestorelocator&amp;view=locations">COM_MOKOJOOMSTORELOCATOR_LOCATIONS</menu>
<menu link="option=com_mokosuitestorelocator&amp;view=categories">COM_MOKOJOOMSTORELOCATOR_CATEGORIES</menu>
<menu link="option=com_mokosuitestorelocator&amp;view=import">COM_MOKOJOOMSTORELOCATOR_IMPORT</menu>
<menu link="option=com_mokosuitestorelocator&amp;view=locations">COM_MOKOSUITESTORELOCATOR_LOCATIONS</menu>
<menu link="option=com_mokosuitestorelocator&amp;view=categories">COM_MOKOSUITESTORELOCATOR_CATEGORIES</menu>
<menu link="option=com_mokosuitestorelocator&amp;view=import">COM_MOKOSUITESTORELOCATOR_IMPORT</menu>
</submenu>
</administration>
</extension>
@@ -3,19 +3,19 @@
; License: GNU General Public License version 3 or later; see LICENSE
COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"
COM_MOKOJOOMSTORELOCATOR="Store Locator"
COM_MOKOJOOMSTORELOCATOR_LOCATIONS="Locations"
COM_MOKOJOOMSTORELOCATOR_NO_LOCATIONS="No locations found."
COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"
COM_MOKOSUITESTORELOCATOR_LOCATIONS="Locations"
COM_MOKOSUITESTORELOCATOR_NO_LOCATIONS="No locations found."
COM_MOKOJOOMSTORELOCATOR_FIELDSET_ADDRESS="Address"
COM_MOKOJOOMSTORELOCATOR_FIELDSET_CONTACT="Contact Information"
COM_MOKOJOOMSTORELOCATOR_FIELD_PHONE="Phone"
COM_MOKOJOOMSTORELOCATOR_FIELD_WEBSITE="Website"
COM_MOKOJOOMSTORELOCATOR_FIELD_HOURS="Business Hours"
COM_MOKOSUITESTORELOCATOR_FIELDSET_ADDRESS="Address"
COM_MOKOSUITESTORELOCATOR_FIELDSET_CONTACT="Contact Information"
COM_MOKOSUITESTORELOCATOR_FIELD_PHONE="Phone"
COM_MOKOSUITESTORELOCATOR_FIELD_WEBSITE="Website"
COM_MOKOSUITESTORELOCATOR_FIELD_HOURS="Business Hours"
COM_MOKOJOOMSTORELOCATOR_LOCATIONS_VIEW_DEFAULT_TITLE="All Locations"
COM_MOKOJOOMSTORELOCATOR_LOCATIONS_VIEW_DEFAULT_DESC="Displays a list of all store locations."
COM_MOKOJOOMSTORELOCATOR_LOCATION_VIEW_DEFAULT_TITLE="Location Detail"
COM_MOKOJOOMSTORELOCATOR_LOCATION_VIEW_DEFAULT_DESC="Displays a single store location with full details."
COM_MOKOJOOMSTORELOCATOR_FIELD_LOCATION="Select Location"
COM_MOKOJOOMSTORELOCATOR_GET_DIRECTIONS="Get Directions"
COM_MOKOSUITESTORELOCATOR_LOCATIONS_VIEW_DEFAULT_TITLE="All Locations"
COM_MOKOSUITESTORELOCATOR_LOCATIONS_VIEW_DEFAULT_DESC="Displays a list of all store locations."
COM_MOKOSUITESTORELOCATOR_LOCATION_VIEW_DEFAULT_TITLE="Location Detail"
COM_MOKOSUITESTORELOCATOR_LOCATION_VIEW_DEFAULT_DESC="Displays a single store location with full details."
COM_MOKOSUITESTORELOCATOR_FIELD_LOCATION="Select Location"
COM_MOKOSUITESTORELOCATOR_GET_DIRECTIONS="Get Directions"
@@ -42,7 +42,7 @@ if ($item->latitude && $item->longitude)
<div class="com-mokosuitestorelocator-location__details">
<div class="com-mokosuitestorelocator-location__address" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
<h3><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_FIELDSET_ADDRESS'); ?></h3>
<h3><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_FIELDSET_ADDRESS'); ?></h3>
<?php if ($item->address) : ?>
<span itemprop="streetAddress"><?php echo $this->escape($item->address); ?></span><br>
<?php endif; ?>
@@ -68,17 +68,17 @@ if ($item->latitude && $item->longitude)
data-lat="<?php echo (float) $item->latitude; ?>"
data-lng="<?php echo (float) $item->longitude; ?>"
data-title="<?php echo $this->escape($item->title); ?>">
<?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_GET_DIRECTIONS'); ?>
<?php echo Text::_('COM_MOKOSUITESTORELOCATOR_GET_DIRECTIONS'); ?>
</a>
</div>
<?php endif; ?>
</div>
<div class="com-mokosuitestorelocator-location__contact">
<h3><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_FIELDSET_CONTACT'); ?></h3>
<h3><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_FIELDSET_CONTACT'); ?></h3>
<?php if ($item->phone) : ?>
<div>
<strong><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_FIELD_PHONE'); ?>:</strong>
<strong><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_FIELD_PHONE'); ?>:</strong>
<?php $safePhone = preg_replace('/[^0-9+\-() ]/', '', $item->phone); ?>
<a href="tel:<?php echo $this->escape($safePhone); ?>" itemprop="telephone">
<?php echo $this->escape($item->phone); ?>
@@ -97,7 +97,7 @@ if ($item->latitude && $item->longitude)
<?php if ($item->website && preg_match('#^https?://#i', $item->website)) : ?>
<div>
<strong><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_FIELD_WEBSITE'); ?>:</strong>
<strong><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_FIELD_WEBSITE'); ?>:</strong>
<a href="<?php echo $this->escape($item->website); ?>" itemprop="url" target="_blank" rel="noopener">
<?php echo $this->escape($item->website); ?>
</a>
@@ -107,7 +107,7 @@ if ($item->latitude && $item->longitude)
<?php if ($item->hours) : ?>
<div class="com-mokosuitestorelocator-location__hours">
<h3><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_FIELD_HOURS'); ?></h3>
<h3><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_FIELD_HOURS'); ?></h3>
<div itemprop="openingHours">
<?php echo nl2br($this->escape($item->hours)); ?>
</div>
@@ -14,10 +14,10 @@ use Joomla\CMS\Router\Route;
/** @var \Moko\Component\MokoSuiteStoreLocator\Site\View\Locations\HtmlView $this */
?>
<div class="com-mokosuitestorelocator-locations">
<h2><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_LOCATIONS'); ?></h2>
<h2><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_LOCATIONS'); ?></h2>
<?php if (empty($this->items)) : ?>
<p><?php echo Text::_('COM_MOKOJOOMSTORELOCATOR_NO_LOCATIONS'); ?></p>
<p><?php echo Text::_('COM_MOKOSUITESTORELOCATOR_NO_LOCATIONS'); ?></p>
<?php else : ?>
<div class="com-mokosuitestorelocator-locations__list">
<?php foreach ($this->items as $item) : ?>
@@ -14,7 +14,7 @@
-->
<extension type="module" client="site" method="upgrade">
<name>mod_mokosuitestorelocator_map</name>
<version>01.01.03</version>
<version>01.02.30</version>
<creationDate>2026-06-23</creationDate>
<author>Moko Consulting</author>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
@@ -55,7 +55,7 @@ if ($provider === 'leaflet')
</div>
<?php
$directionsText = Text::_('COM_MOKOJOOMSTORELOCATOR_GET_DIRECTIONS', true);
$directionsText = Text::_('COM_MOKOSUITESTORELOCATOR_GET_DIRECTIONS', true);
$clusteringJs = $enableClustering ? 'true' : 'false';
$wa->addInlineScript(<<<JS
@@ -14,7 +14,7 @@
-->
<extension type="module" client="site" method="upgrade">
<name>mod_mokosuitestorelocator_search</name>
<version>01.01.03</version>
<version>01.02.30</version>
<creationDate>2026-06-23</creationDate>
<author>Moko Consulting</author>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
@@ -5,7 +5,7 @@
========================================================================= -->
<extension type="plugin" group="webservices" method="upgrade">
<name>plg_webservices_mokosuitestorelocator</name>
<version>01.01.03</version>
<version>01.02.30</version>
<creationDate>2026-06-24</creationDate>
<author>Moko Consulting</author>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
+1 -1
View File
@@ -18,7 +18,7 @@
<extension type="package" method="upgrade">
<name>MokoSuite Store Locator</name>
<packagename>mokosuitestorelocator</packagename>
<version>01.01.03</version>
<version>01.02.30</version>
<creationDate>2026-06-23</creationDate>
<author>Moko Consulting</author>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
+109
View File
@@ -128,12 +128,121 @@ class Pkg_MokosuitestorelocatorInstallerScript implements InstallerScriptInterfa
*/
public function postflight(string $type, InstallerAdapter $parent): bool
{
// Housekeeping runs unconditionally.
$this->restoreDownloadKey();
// Be honest about success. Joomla's package installer only LOGS a failed
// child sub-install but still runs this postflight, so don't show the
// license / next-steps message if a bundled extension is actually missing.
// Fails open (see missingChildExtensions) so a query/IO glitch never fakes
// a failure.
$missing = $this->missingChildExtensions($parent);
if (!empty($missing))
{
\Joomla\CMS\Factory::getApplication()->enqueueMessage(
'<h4>MokoSuiteStoreLocator did not install correctly.</h4>'
. '<p>The following bundled extensions are missing: '
. htmlspecialchars(implode(', ', $missing), ENT_QUOTES) . '</p>'
. '<p>Please uninstall MokoSuiteStoreLocator and reinstall the full package.</p>',
'error'
);
return true;
}
// Success / next-steps path — only reached when every child installed.
$this->warnMissingLicenseKey();
return true;
}
/**
* Verify every child extension declared in the package manifest actually landed
* in #__extensions. Returns readable labels of any that are missing.
*
* Matching per Joomla's #__extensions uniqueness:
* - type = the <file> "type" attribute
* - element = the <file> "id" attribute, EXCEPT for plugins the manifest often
* declares the full `plg_<group>_<element>` id, so strip a leading
* `plg_<group>_` to get the real element; components/modules use id as-is
* - plugins ALSO match folder = the <file> "group" attribute
*
* FAILS OPEN: any error (unreadable manifest, query failure) returns [] so a
* transient glitch never turns a good install into a false failure.
*
* @param InstallerAdapter $parent The parent installer object.
*
* @return array Readable labels of missing child extensions.
*
* @since 1.0.0
*/
private function missingChildExtensions(InstallerAdapter $parent): array
{
try
{
$manifest = $parent->getParent()->getManifest();
if (!$manifest || !isset($manifest->files) || !isset($manifest->files->file))
{
return [];
}
$db = \Joomla\CMS\Factory::getDbo();
$missing = [];
foreach ($manifest->files->file as $file)
{
$attrs = $file->attributes();
$id = isset($attrs['id']) ? (string) $attrs['id'] : '';
$exType = isset($attrs['type']) ? (string) $attrs['type'] : '';
if ($id === '' || $exType === '')
{
continue;
}
$group = isset($attrs['group']) ? (string) $attrs['group'] : '';
$element = $id;
// Plugin element in #__extensions is the id minus any leading plg_<group>_.
if ($exType === 'plugin' && $group !== '')
{
$prefix = 'plg_' . $group . '_';
if (strpos($element, $prefix) === 0)
{
$element = substr($element, \strlen($prefix));
}
}
$query = $db->getQuery(true)
->select('COUNT(*)')
->from($db->quoteName('#__extensions'))
->where($db->quoteName('element') . ' = ' . $db->quote($element))
->where($db->quoteName('type') . ' = ' . $db->quote($exType));
if ($exType === 'plugin' && $group !== '')
{
$query->where($db->quoteName('folder') . ' = ' . $db->quote($group));
}
if ((int) $db->setQuery($query)->loadResult() === 0)
{
$label = trim((string) $file);
$missing[] = $label !== '' ? preg_replace('/\.zip$/i', '', $label) : $id;
}
}
return $missing;
}
catch (\Throwable $e)
{
// Fail open — never fake a failure on a glitch.
return [];
}
}
private ?string $savedDownloadKey = null;
private function saveDownloadKey(): void