luketowers/oc-essentialvars-plugin
最新稳定版本:v1.0.6
Composer 安装命令:
composer require luketowers/oc-essentialvars-plugin
包简介
Adds the app_[url|logo|favicon|name|debug|description] variables to Mail & CMS templates in OctoberCMS
README 文档
README
Adds support for logging into the backend with Azure Active Directory Single Sign On (SSO) OAuth.
Installation
To install from the Marketplace, click on the "Add to Project" button and then select the project you wish to add it to before updating the project to pull in the plugin.
To install from the backend, go to Settings -> Updates & Plugins -> Install Plugins and then search for LukeTowers.EssentialVars.
To install from the repository, clone it into plugins/luketowers/essentialvars and then run composer update from your project root in order to pull in the dependencies.
To install it with Composer, run composer require luketowers/oc-essentialvars-plugin from your project root.
About
This plugin registers the following variables for use in CMS Layouts, Partials, & Pages as well as for use in Mail Templates:
| Name | Description |
|---|---|
app_url: |
The URL to the home page of the application |
app_logo: |
The URL to the backend application logo, defaults to the OctoberCMS logo if not set |
app_favicon: |
The URL to the backend application favicon, defaults to the OctoberCMS logo if not set |
app_name: |
The Application Name from the backend BrandSettings |
app_debug: |
The state of the application debug flag |
app_description: |
The Application Tagline from the backend BrandSettings |
统计信息
- 总下载量: 2.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-06