[Solved] Remove unwanted menu translation

Hi,

I've installed Drupal in english, and added french language later.

According to the settings in admin/config/regional/language, French is now the default language of the website.

The admin menu is translated in french, which is nice, but the labels of the main navigation menus are translated too, which is a problem.

For example, if the label is "Switch" (as in "Nintendo Switch"), in the menu it appears as "Changer" (a french translation for "to switch).

rewrite reference fields to redirect on original content(node detail page)

i have a paragraph and taxonomy field which is referenced to content type. i am able to index these fields(all content filed, paragraph and taxonomy field using add fields in search api config)

my question is how can i show search result to the user if they search with some paragraph filed or taxonomy field and redirect the user to original content(node detail page) from the search result view page.

Javascript loaded via DrupalSettings variable not executing?

I have added a js library and associated code to get all Location nodes onto a Map page

This code works fine if I paste it into the map.js file but if I use the drupalSettings variable, the code is appearing in the map.js file but doesn't appear to be executing

The map.js file

(function ($, Drupal, drupalSettings) {

'use strict';

Drupal.behaviors.mybehavior = {
attach: function (context, settings) {

Local Drupal Installation without Vagrant

Can someone recommend a way to install a local copy of Drupal 8 without using Vagrant? It doesn't seem to be compatible with my set up.

Should I use VMWare Player? And if so, should I get VMWare Workspace, Workspace ONE, Horizon, Mirage, Fusion? Also, should I then get the Bitnami Drupal Stack, or the Drubuntu VMWare Image?

I've just got a Windows 10 laptop and I just want to install Drupal locally to test an update to an existing website without damaging the live site.

Custom plugin to filter new lines from plain text

I created a custom module that has a plugin text filter. The sole purpose of the text filter is to remove new line characters and replace them with a single space. I'd like to apply the filter to a long, plain text field. The module was successfully installed (and I flushed all caches) and the filter enabled for the "Plain text" filter. I find that the filter does not remove new line characters. I get no error messages anywhere. I figure something is wrong with my code (I am a total php noob). Here is my FilterWC_Validator.php file

Multiple books

For an intranet project I need to know if it's possible to have multiple  books. I also need to archive books and restrict the access for some users. Is this possible?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x