Administration

Installation

Basic Setup

  1. Install media2click via the extension manager.
  2. Include the extension’s static template into your TS template.
  3. If your main PAGE object is not named ‘page’, adapt the TypoScript Setup accordingly.
  4. Activate the extension’s functionality via the Constant Editor: enable

If individual placeholder content or permanent activation is required:

  1. Set up a page of type sysfolder to hold the host data.
  2. Set storagePid to this sysfolder’s uid via the Constant Edtior: storagePid
  3. Insert a content element of type “Insert Plugin” -> “Toggle permanent activation of external content” on your privacy statement page.
  4. Set privacyPid to the uid of your privacy statement page via the Constant Edtior: privacyPid
  5. Globally allow permanent activation via the Constant Editor: enablePermanently
  6. Using the list module, add a host configuration to your storage page for every target host that needs individual placeholder content or permanent activation: Individual Host Configuration

Individual Host Configuration

Host Configuration Form

Example host configuration for YouTube videos

For videos, you have to use “YouTube” and “Vimeo” as the hostname.

Individual Host Templates

If individual text and logo is not enough, you can configure individual fluid templates for your hosts’ placeholders: Just add a file named after the host in Fluid Styled Contents’ partial root paths. For example for the host www.example.com this file would be named (…)/Partials/Media2click/Placeholder/www.example.com.html

There is an example template for www.example.com included in this extension.