定制 paolorox/ti-ext-customalert 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

paolorox/ti-ext-customalert

Composer 安装命令:

composer require paolorox/ti-ext-customalert

包简介

Full-screen customizable alert and announcement popup with blurred background, action buttons, and customer view logs.

README 文档

README

A premium, highly-customizable fullscreen announcement and alert popup extension for TastyIgniter. Perfect for cookie consents, marketing announcements, policy updates, or critical site notices.

Authored by Paolo Rossini.

Features

  • Premium Glassmorphic Design: Modern aesthetics featuring responsive full-screen overlays with adjustable slate/pearl glass themes, backdrop blur strengths, and entrance animations.
  • Drag-and-Drop Button Configurator: Add multiple action buttons in the backoffice. Each button is customizable with its own action (Close and Accept, or Redirect to URL), style (Primary solid, Elegant glass, Danger accent, Outline), and text.
  • View & Interaction Analytics: Logs when a user sees the popup and records which button they clicked (Dismissed vs redirect buttons).
  • Performance Optimized (Hybrid Seen Checking): Prevents database bottlenecks on page load by checking client cookies first. For registered customers, it syncs with the database to prevent the popup from reappearing if they log in from another device.
  • Auto-Reset on Update: Automatically hashes the popup content (title, message, buttons). If you update the message in the backend, the hash changes, resetting the cookies and database view logs so all users are shown the new message.
  • Dedicated Logs Dashboard: A detailed table under Tools > Custom Alert Logs that is fully searchable and filterable.

Requirements

  • TastyIgniter version ^4.0
  • PHP ^8.1

Installation

  1. Create a directory named extensions/igniter/customalert in your TastyIgniter installation.
  2. Extract or copy the contents of this repository into that folder.
  3. Run the database migrations to register the extension and create the logs table:
    php artisan igniter:up
  4. Clear the Laravel and TastyIgniter caches to register the routes and controllers:
    php artisan optimize:clear

Configuration

  1. Log in to your TastyIgniter Admin Panel.
  2. Navigate to System > Settings > Custom Alert Settings.
  3. Enable the alert, write your notice using the Rich Text editor, choose your preferred design theme, and configure your action buttons.
  4. Click Save.

View Logs

Go to Tools > Custom Alert Logs in the admin sidebar. Here you can search, view IP addresses, sessions, status, and track which button each customer clicked.

License

This project is licensed under the MIT License.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固