cetera-labs/plugin-special

Версия для слабовидящих

Installs: 190

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Language:JavaScript

Type:cetera-cms-plugin

dev-master 2023-12-13 10:45 UTC

This package is auto-updated.

Last update: 2024-05-13 11:36:17 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"} %}