cetera-labs / plugin-special
Версия для слабовидящих
Package info
github.com/cetera-labs/plugin-special
Language:JavaScript
Type:cetera-cms-plugin
pkg:composer/cetera-labs/plugin-special
dev-master
2025-03-14 10:42 UTC
This package is auto-updated.
Last update: 2026-02-14 12:58:05 UTC
README
Usage
<body>
<!-- place after open body tag -->
{% widget 'Special.Panel' with {} %}
<!-- some html code -->
Widget params
For subdomain use
Config subdomain special.site.name
{% widget 'Special.Panel' with { url_normal: "site.name", css: "path_to_additional_css"} %}
For cookie mode instead additional subdomain
Additional domain is not required;
<body>
<!-- Button, link or another html tag with data attribute for activation required -->
<a data-action="widget-special-toggler" class="some_class">Enable special version</a>
{% widget 'Special.Panel' with { cookie_mode: true, css: "path_to_additional_css"} %}