bkindler/bjk-responsive-visibility 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bkindler/bjk-responsive-visibility

最新稳定版本:v1.0.1

Composer 安装命令:

composer require bkindler/bjk-responsive-visibility

包简介

Adds a minimum viewport breakpoint selector to all content elements. Elements are hidden below the chosen breakpoint using Bootstrap CSS utility classes.

README 文档

README

TYPO3 11.5–14.x Bootstrap Package License: GPL v2

Adds a minimum viewport breakpoint selector to all content elements. Elements are hidden below the chosen breakpoint using Bootstrap CSS utility classes (d-none d-{breakpoint}-block).

What does it do?

This extension adds a "Minimum Viewport" dropdown to the Appearance tab of every content element. When a breakpoint is selected, the element is only visible at that screen width and above.

No custom CSS is needed — it leverages Bootstrap 5 utility classes already included in the Bootstrap Package.

Breakpoints

Option Min-Width CSS Classes Applied
Always visible None (no wrapper)
From SM ≥ 576px d-none d-sm-block
From MD ≥ 768px d-none d-md-block
From LG ≥ 992px d-none d-lg-block
From XL ≥ 1200px d-none d-xl-block
From XXL ≥ 1400px d-none d-xxl-block

Requirements

  • TYPO3 CMS 11.5 – 14.x
  • Bootstrap Package 14.x – 16.x
  • PHP 8.1+

Installation

Via Composer (recommended)

composer require bkindler/bjk-responsive-visibility

Via TYPO3 Extension Manager

  1. Download the extension ZIP file
  2. Go to Admin Tools → Extensions
  3. Click Upload Extension and select the ZIP file
  4. Activate the extension

Include TypoScript

TYPO3 14 (Site Sets): Add the "Responsive Visibility" set to your site configuration.

TYPO3 11–13 (Static Templates): Include the static template "Responsive Visibility (bjk_responsive_visibility)" in your TypoScript template record.

Usage

  1. Edit any content element
  2. Switch to the Appearance tab
  3. Select the desired Minimum Viewport breakpoint
  4. Save — the element will only be visible at that screen width and above

How it works

The extension wraps content elements in a <div> with Bootstrap's responsive display utility classes. For example, selecting "From MD" produces:

<div class="d-none d-md-block">
    <!-- content element output -->
</div>

The d-none class hides the element by default, and d-md-block makes it visible again from the MD breakpoint (768px) upwards.

License

This extension is licensed under the GNU General Public License v2.0 or later.

Author

Björn Kindler

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固