schantldev/it-recht-kanzlei
Composer 安装命令:
composer require schantldev/it-recht-kanzlei
包简介
README 文档
README
Easily integrate your legal texts from IT-Recht Kanzlei.
Features
This addon uses the official SDK of IT-Recht Kanzlei to neatly connect your website with their service.
How to Install
- Install the addon via Composer:
composer require schantldev/it-recht-kanzlei
- Visit the addon's settings page to copy the set API key.
- Create a new connection within your IT-Recht Kanzlei account. Paste the copied API key and set the endpoint URL to
https://example.org/api/it-recht-kanzlei.
How to Use
Once you have connected your website to your account, legal texts appear within the addon's settings page. To use them,
simply add the special IT-Recht Kanzlei Text to your blueprint that allows you to select a legal text.
To show a selected text, make use of the {{ itrecht:html }} or {{ itrecht:text }} tag. Pass the selected text
to the tag like so: {{ itrecht:html :legal_id="legal_text" }}. This assumes that the added fieldtype has a hanlde
of legal_text.
It's recommended to combine your markup with a cache tag like in the full example below. The addon will automatically invalidate the cache key when a new legal text is added or updated, as long as it has the format as in the example.
{{ cache key="itrecht:{legal_text}" }}
<div class="span-lg">
{{ partial:typography/prose as="article" class="contents" }}
{{ itrecht:html :legal_id="legal_text" }}
{{ /partial:typography/prose }}
</div>
{{ /cache }}
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-06-16