Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonnitto/jonnitto.iframe

iFrames for Neos CMS
https://github.com/jonnitto/jonnitto.iframe

neoscms nodetype

Last synced: 12 days ago
JSON representation

iFrames for Neos CMS

Awesome Lists containing this project

README

        

[![Latest Stable Version](https://poser.pugx.org/jonnitto/iframe/v/stable)](https://packagist.org/packages/jonnitto/iframe)
[![Total Downloads](https://poser.pugx.org/jonnitto/iframe/downloads)](https://packagist.org/packages/jonnitto/iframe)
[![License](https://poser.pugx.org/jonnitto/iframe/license)](https://packagist.org/packages/jonnitto/iframe)
[![GitHub forks](https://img.shields.io/github/forks/jonnitto/Jonnitto.iFrame.svg?style=social&label=Fork)](https://github.com/jonnitto/Jonnitto.iFrame/fork)
[![GitHub stars](https://img.shields.io/github/stars/jonnitto/Jonnitto.iFrame.svg?style=social&label=Stars)](https://github.com/jonnitto/Jonnitto.iFrame/stargazers)
[![GitHub watchers](https://img.shields.io/github/watchers/jonnitto/Jonnitto.iFrame.svg?style=social&label=Watch)](https://github.com/jonnitto/Jonnitto.iFrame/subscription)
[![GitHub followers](https://img.shields.io/github/followers/jonnitto.svg?style=social&label=Follow)](https://github.com/jonnitto/followers)
[![Follow Jon on Twitter](https://img.shields.io/twitter/follow/jonnitto.svg?style=social&label=Follow)](https://twitter.com/jonnitto)

# Jonnitto.iFrame

iFrame for [Neos CMS](https://www.neos.io):

* 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:

```bash
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.