postyou/contao-easy-popup
最新稳定版本:1.2.0
Composer 安装命令:
composer require postyou/contao-easy-popup
包简介
Bundle to create easy to use pop-ups with nodes extension.
README 文档
README
This adds easy to use popups to the Contao CMS.
Dependencies
How to create a popup
- Create a node article in the backend module
Content > Nodes - Select the created node in a link picker widget or use the insert tag directly:
<a href="{{popup_url::NODE_ID}}">Open popup</a> - Done! The popup content is inserted at the end of the HTML body and can be displayed by clicking the link from the previous step.
Configuration
You can configure the popup by activating the Easy popup settings checkbox within the node.
CSS-Class: Add CSS classes to the popup container via the Style Manager (if installed) or thePopup CSS-Classfield.Delay: Enter a delay that should pass before the popup is displayed automatically.Timeout: Enter a timeout in which the popup should not be displayed again.Show before leaving the page: Activate the checkbox to show the popup before the user leaves the page.
You can also extend the easy_popup/popup.html.twig template to change the popup container.
统计信息
- 总下载量: 313
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2024-02-08