how to let 'web-view' mobile iOS/Android app talk consume/feed site

Ok... I am a bit confused here ! Any help will be much appreciated...

I have a Drupal 8 site with the following modules:

  • HAL.
  • HTTP Basic Authentication.
  • REST UI.
  • RESTful Web Services.
  • Serialization.

Using the REST UI module, I configured it as follows.

Settings for resource User

Granularity - Resource

Methods - GET - POST - PATCH

Accepted request formats - json

Remove the "Generator" meta tag from Drupal 8?

There doesn't seem to be a definitive answer, any ideas how to remove this without using a module?

<meta name="Generator" content="Drupal 8 (https://www.drupal.org)" />

Drupal admin toolbar still in cache after logging out

I'm experiencing some odd behavior around the logout process in Drupal 8. When I am logged in as admin and then logout, using either the Drupal "Log out" link or by appending "/user/logout" to the url, I am redirected to my Microsoft log out page. If I click the browser back button, I go back to the page I was on, and the Drupal admin toolbar is still visible. If I click any of the links on the toolbar, I get a 403 so, I am definitely logged out. Somehow, the toolbar is remaining in the cache.

How to add previous/next links to nodes like in drupal.org

I would like to add a feature in my articles that has links to the previous and next posts, kind of like how drupal.org does it.

https://i.redd.it/1rpytbnbz2p21.png

I realise that drupal.org is in Drupal 7, and found many Drupal 7 modules that do this, but couldn't find any in Drupal 8.

I was wondering if anyone in this community knows a drupal 8 module that achieves this.

Thank you.

Concat and print a variable

Hello,

I wanted to concat 2 string to ouput a variable.

For example, I send an array "onglets" variable to a node--fiche-activite.html.twig that contains between 0 and 4 values.

I tried 

{% for key, onglet in onglets %}
   {% set mavar = "field_onglet_#{key+1}" %}
   {{ kint(mavar) }}
{% endfor %}

That output a String "field_onglet_1" to "field_onglet_4".

Now, I don't know how to concat to have the result content.field_onglet_1

Is there any free media gallery module for D8?

Hi there

I am coming a bit late to D8, as the number of sites I made with Drupal were with D7 and older, which actually provided a number of options for photo & other media galleries, such as the media gallery (working with media). It seems most of these modules have been abandoned.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x