Download the PHP package fucodo/dialog-overlay without Composer

On this page you can find all versions of the php package fucodo/dialog-overlay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dialog-overlay

TYPO3 Extension: dialog_overlay

Container content element with an HTML5 <dialog> (modal) that can be shown automatically once per visitor using a cookie. Ships a small Web Component that handles auto‑open and cookie logic. Built for the b13/container.

Examples

Frontend

Backend

Features

Installation

  1. Install the extension (part of this distribution) and ensure dependencies are available:
    • TYPO3 Core ^12.4 or ^13
    • b13/container ^2 or ^3
  2. Include the static TypoScript template in your site template:
    • Template record → Includes → Add “Dialog Overlay (CE & FE Rendering)”.
  3. PageTS is auto‑imported by the extension (see ext_localconf.php), so the New Content Element Wizard entry is available under the "special" group.

Usage (Editor)

  1. In the New Content Element Wizard, choose: Special → “Dialog Overlay (einmalig)”.
  2. Fill the fields:
    • Titel (header): Optional title; not rendered by default but useful for backend identification.
    • Einstellungen (Settings):
      • Cookie‑Lebensdauer (Tage): Number of days the “already shown” cookie should live (default 30; 1–3650).
      • Cookie‑Name: Optional. If empty, defaults to overlay_shown_{uid}.
      • Automatisch öffnen: If checked, the dialog opens automatically on page load (default on). If unchecked, the dialog won’t auto‑open and can be opened via custom JS.
      • Schließen‑Button anzeigen: If checked, renders a close button inside the dialog (default on).
      • Beschriftung Schließen‑Button: Optional label (default “Schließen”).
  3. Dialog‑Inhalt: Add and arrange any content elements in the provided container area. They render inside the modal.

Rendering & Frontend

JavaScript behavior

The script Resources/Public/JavaScript/dialog-overlay.js defines the custom element fucodo-modal-once:

Styling

A small default stylesheet is included via <f:asset.css>:

How to customize:

Accessibility notes

Privacy & Cookies

Integrator reference

TCA fields (tt_content)

Container setup

Overriding templates and assets

TypoScript

The extension delivers a static TypoScript include titled “Dialog Overlay (CE & FE Rendering)” which registers:

Opening the dialog manually

If data-auto-open="0", you can open the dialog from custom code:

Note: The “shown once” cookie is set when the dialog fires its close event. If you close the dialog programmatically, the cookie will also be set by the component.

Known limitations

Icons

Changelog

See the project’s VCS history. If you maintain a Changelog.md in your distribution, keep extension‑specific entries there.

Support

This extension is part of your site distribution. For issues, please use your project’s regular support channels or your integrator’s contact.


All versions of dialog-overlay with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^12.4 || ^13.0
b13/container Version ^2 || ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fucodo/dialog-overlay contains the following files

Loading the files please wait ...