jonnitto/iframe

iFrames for Neos CMS

Installs: 21 397

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 1

Language:JavaScript

Type:neos-plugin

4.4.2 2022-09-04 16:08 UTC

README

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers GitHub followers Follow Jon on Twitter

Jonnitto.iFrame

iFrame for Neos CMS:

  • You can set the height (Pixel or viewport height) or the ratio of the iframe.
  • If the source of the iframe returns an error, it will be removed in the frontend.

Installation

Most of the time you have to make small adjustments to a package (e.g. configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:

composer require jonnitto/iframe --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilà! Your desired package is now installed correctly.