mullema/k3-panel-view-extended
最新稳定版本:5.0
Composer 安装命令:
composer require mullema/k3-panel-view-extended
包简介
Allow single language pages/site/users in a multi language setup, hide buttons in topbar and sections.
README 文档
README
With Kirby 3.6 a lot of new CSS selectors were added to the Panel views. Therefore, the add css classes feature was removed from this plugin. See the official Kirby website for available css selectors.
Features with Blueprint options:
-
In a multi language setup: Set a site/page/user to single language and hide the language drop down
-
Hide the settings dropdown for pages in the options top bar and in pages sections
-
Hide the status button in the options top bar for pages and in pages sections
-
Hide the whole options top bar for pages and in pages sections
-
- Hide the draft option the in status change dialog
This plugin is compatible with rasteiner/k3-pagesdisplay-sections
From Kirby 3.5 use v5.0
From Kirby 3.6 use v4.0
From Kirby 3.5 use v3.0
From Kirby 3.2.5 use v2.2.x
For Kirby 3.2.x use v2.1.x
For Kirby 3.0 - 3.1.x use version 1.0.4
Installation
Download
Download and copy this repository to /site/plugins/k3-panel-view-extended
Git submodule
git submodule add https://github.com/mullema/k3-panel-view-extended.git site/plugins/k3-panel-view-extended
Composer
composer require mullema/k3-panel-view-extended
Features
additional classes to k-page-view
No longer available
singleLanguage
(multilanguage setup) This blueprint option hides the language selector and forces all updates to be saved in the default language (see hook)
Only updates from the Panel are intercepted. Pages created or updated via own backend code are not affected.
Available in site, pages and user blueprints.
options: singleLanguage: true
hideSettings
This blueprint option hides the settings dropdown in the top bar menu and in pages sections for the specific page. Can be desired e.g. if all options are disabled.
Available in pages blueprints.
options: hideSettings: true
hideStatus
This blueprint option hides the status flag in the top bar menu and in pages sections for the specific page.
Available in pages blueprints.
options: hideStatus: true
hideOptions
This blueprint option hides the whole options top bar for pages. It includes all features from singleLanguage, hideSettings and hideStatus.
Available in pages blueprints.
options: hideOptions: true
hideDraftOption
No longer available
License
MIT
统计信息
- 总下载量: 8.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 28
- 点击次数: 3
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-13