gerdemann / imagehotspots
Neos CMS Package for image hotspots
Installs: 310
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 1
Language:JavaScript
Type:neos-plugin
Requires
- mhsdesign/liveinspectorjsevents: ~2.0.2
- neos/neos: ^8.0
README
Installation
You can install the package via composer:
composer require gerdemann/imagehotspots
Demo
Disable automatic CSS and JS
prototype(Neos.Neos:Page).hotspotStyles >
prototype(Neos.Neos:Page).hotspotJavaScript >
prototype(Neos.Neos:Page).hotspotBackendJavaScript >
Hint: Then you have to add your own JavaScript and CSS, otherwise the plugin does not work.
Change icon fallback
Just overwrite the Gerdemann.ImageHotspots:Utility.IconFallback
fusion prototype.
Change the rendering of the content box
Just overwrite the (renderer of the) Gerdemann.ImageHotspots:Content.HotspotContent
fusion prototype.
It is also possible to create own NodeTypes that inherit from Gerdemann.ImageHotspots:Content.Hotspot
.
To disable unnecessary properties just disable the supertype Gerdemann.ImageHotspots:Mixin.HotspotContent
in the new NodeType.
License
The MIT License (MIT). Please see License File for more information.