considbrs-webdev/modularity-a-o
Composer 安装命令:
composer require considbrs-webdev/modularity-a-o
包简介
Modularity A-Ö Links module for Piteå
README 文档
README
Alphabetical (A-Ö) link list for Modularity: published pages under a chosen root are resolved on each frontend page request in PHP, merged with manual links, sorted with Swedish collation, grouped A–Ö, and rendered with Blade using Municipio component patterns (@typography, @link, c-listing).
Structure
modularity-a-o.php— bootstrap, constants, ACF export sync, view pathsource/php/Helper/PageTreeBuilder.php— recursive published descendant pagessource/php/Helper/ManualLinkRowHelper.php— repeater row URL / emptiness helperssource/php/Helper/AoIndexBuilder.php— merge, sort, groupingsource/php/Module/views/a-o.blade.php— jump nav + sectionssource/php/Module/views/partials/a-o-link-list.blade.php— listing rows with chevronsource/php/AcfFields/php/a-o-module.php— field group (loaded by AcfExportManager)source/sass/modularity-a-o.scss— module shell / jump strip utilities
Editor
- Dynamic source → Root page: tree is built from descendants only (not the root).
- Manual links: Link type Page or External URL (only the matching field shows). Label optional (defaults to page title or the URL text).
Build assets
From the plugin directory:
composer install npm ci npm run build
Optional (e.g. CI): php build.php runs the same installs and build. Pass --no-composer or --no-npm to skip either step. For a minimal release tree, use --cleanup-release (does not remove .git).
Output: assets/dist/manifest.json, hashed CSS.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-04