Admin menu: use COM_..._SHORT short-name constant (one-word naming pass) #44

Open
opened 2026-07-06 02:58:46 +00:00 by jmiller · 2 comments
Owner

Part of the org-wide MokoSuite component naming/consistency pass.

Current: the top-level Administrator → Components menu item uses the full constant COM_MOKOSUITEFIELD (no short form).

Required (match MokoSuiteHQ / MokoSuiteClient):

  1. Set the manifest's top-level <administration><menu> to COM_<ELEMENT>_SHORT.
  2. Define COM_<ELEMENT>_SHORT="Field" in the component's .sys.ini.

Suggested short value: "Field".

Part of the org-wide MokoSuite component naming/consistency pass. **Current:** the top-level Administrator → Components menu item uses the full constant `COM_MOKOSUITEFIELD` (no short form). **Required (match MokoSuiteHQ / MokoSuiteClient):** 1. Set the manifest's top-level `<administration><menu>` to `COM_<ELEMENT>_SHORT`. 2. Define `COM_<ELEMENT>_SHORT="Field"` in the component's **`.sys.ini`**. Suggested short value: **"Field"**.
Author
Owner

Branch created: feature/44-admin-menu-use-com-short-short-name-cons

git fetch origin
git checkout feature/44-admin-menu-use-com-short-short-name-cons
Branch created: [`feature/44-admin-menu-use-com-short-short-name-cons`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteField/src/branch/feature/44-admin-menu-use-com-short-short-name-cons) ```bash git fetch origin git checkout feature/44-admin-menu-use-com-short-short-name-cons ```
Author
Owner

Addressed in PR #47 (fix/short-menu-constantdev).

  • Added COM_MOKOSUITEFIELD_SHORT="Field" to source/components/com_mokosuitefield/language/en-GB/com_mokosuitefield.sys.ini.
  • Pointed the manifest <administration><menu> at COM_MOKOSUITEFIELD_SHORT in source/packages/com_mokosuitefield/mokosuitefield.xml.

PR: #47

Addressed in PR #47 (`fix/short-menu-constant` → `dev`). - Added `COM_MOKOSUITEFIELD_SHORT="Field"` to `source/components/com_mokosuitefield/language/en-GB/com_mokosuitefield.sys.ini`. - Pointed the manifest `<administration><menu>` at `COM_MOKOSUITEFIELD_SHORT` in `source/packages/com_mokosuitefield/mokosuitefield.xml`. PR: https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteField/pulls/47
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteField#44