Allowing javascript code (Linkedin insight tags and FAcebook pixel)

Hi all,

I need to allow a piece of javascript codes on my Drupal 8 portal in order to allow Linkedin and Facebook to collect stats.

First thing tha come to my mind was to insert the code in a custom block. But it doesnt work. I remember that time ago (enoguht to forget), I worte a custom module to allow my custom javascript.  Also, there is a module that allows to inject SJ, but works only for D7.

Translatable "managed_file" in block

Hello,

Is it possible to have a Translatable "managed_file" in block? The goal is to have a different file per lang. 
More precisely, what is the type to put in mapping ?:

Thanks for your response :)

block.settings.video_block:
  type: block_settings
  mapping:
    descr:
      type: text_format
      label: 'Text'
    url:
      type: text
      label: 'Url'
    image:
      type: ???

Drupal 8 Linux Production Environment Guidance

Hello all.

I have been learning Drupal 8 over the last several months.  At home, I set it up on my laptop running Linux, at work, on my desktop PC running Windows.  After some demos, my boss would like us to officially use Drupal at work.  I asked if we could do it on Linux, and to my surprise, he said yes.  He feels comfortable with some sort of support, so we went with Red Hat.

Imperial War Museums

Imperial War Museums screenshot

Deeson designed and built a powerful digital platform to harness Imperial War Museums' collection and drive deeper engagement with their events.

Sectors: 
Non-profit

24Kitchen, the no. 1 website for food lovers

Jamie Olivier cooking

24Kitchen is one of the most popular platforms on food, cooking and lifestyle. LimoenGroen en SchaapOntwerpers were contracted to create an entirely new online experience for 24Kitchen, allowing for quick access to thousands of healthy recipes and inspiring cooking. With FOX News Network and The Persgroep Netherlands backing this pan european TV format, it was a feast work on this project.

Sectors: 
Community
Entertainment
Media
Publishing

Installed to wrong directory

Hoping there is an easy fix for this?  When I uploaded drupal to my server I had a folder called drupal-8.5.1 containing all the files. I installed drupal but now if I hit http://<mydomain> I don't get my home page, I see the dir listing. In order to hit my site I have to go to http://<mydomain>/drupal-8.5.1

How do I fix this to just use http://<mydomain>

Thanks!!!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x