Leonidas : Belgium's favorite praline worldwide website

Leonidas is a -legendary- Belgian chocolate company founded in 1913. Today, the brand is present in 32 countries and has more than 1000 points of sale. The company has a strong reputation and has been certified purveyor to the Belgian royal Palace.

Sectors: 
E-Commerce
Enterprise
Retail and Distribution

Full time - Drupal Developer 90-100K

Title: Drupal Web Developer

Venesco LLC is looking for a Drupal Web Developer to provide unparalleled support to our partner the Drug Enforcement Administration (DEA).

Candidate must be a US citizen, with the ability to work in the US.

This is a full time position (remote for the moment, Arlington VA) with full time pay (90 - 100k/year) plus benefits.

Fatal error</b>: Method Drupal\simple_oauth

Hi team,

I tried to get a token with  post request but got the below error.

Can anyone to help fix this error.

<br />

<b>Fatal error</b>: Method Drupal\simple_oauth\Entities\AccessTokenEntity::__toString() must not throw an exception,

caught Lcobucci\JWT\Signer\InvalidKeyProvided: It was not possible to parse your key, reason: error:0909006C:PEM

routines:get_name:no start line in

Attach custom javascript dynamically generated on a theme page.

In my case I want to write some javascript code inside the paragraph-something.hmtl.twig taking elements from the theme variables and then putting this javascript attached to the bottom of the page. Something like: 

{{ attach_library('my/code') }}

but being able to write the code dynamically and not link to a js file pre-comp.

It's possible?

Whats the earliest point a drupal site can detect if a visitor has visited site before?

Hi

I am trying to redirect visitors if it is their first time on site.

I beleive in drupal 7, this could be done on itialization using init().

Im using a gated content module to check with cookies if a user has already visited the site before. But this uses JS and is executed once dom is fully loaded.

Im trying to find a way to detect at the earliest point. Before any content is load if possible.

What sort of function should I be looking at?

I know is a generic question but just looking for a starting point. Thanks

How to display the thumbnail of a YouTube video in TWIG ?

I created a template for the "Remote video" media type.

I want to display in this template the url of the thumbnail of my video.

I tested this code {{ media.field_thumbnail.value }} but it doesn't work.

The problem is that the thumbnail field is a false field. It does not appear in "Manage fields".

How to display the thumbnail of a YouTube video in TWIG ?

media--remote-video--default.html.twig :

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x