Error on translating fields

Hi,

I activated config translation and content translation and want to translate the field label of a content type. Every time I submit the translation form of any field I get the following error message (here the name of the field is field_ref_contactperson):

issues with the base_path global ($base_path, function base_path())

Short version

There seems to be some ambiguity about the meaning of the $base_path global which has led to incorrect usage elsewhere in the code. Certain of these misuses cause site problems when the site's domain-relative base URL does not match the site's public_html-relative file path.

I have some preliminary recommendations about how to fix this, but would like input from more experienced Drupal coders. (If there has been previous discussion of these issues, please point me at it; I searched briefly but was not able to find any.)

How to make the parent menu items non-clickable in superfish?

I have looked at the documentation and the configuration but I can't figure out how to remove links on parent menu items. My client wants all parent menu items to be non-clickable only the child items should be clickable. Can anyone suggest how this can be accomplished?

overriding default Date display in code

Hi,

I was wondering if any of you have had any encounters with the Date formatting in Drupal 8, and have had any success overriding the default display in code? I'm aware that you can add new date and time formats, but that doesn't help me when I'm trying to output a date field in code and it's constantly using the standard display format as summarised in the Date class below located in Date.php.

Print a twig variable without the debug options

Hi everyone,

i have a taxonomy in my content type which is like "A" "B" "C" or "D"

when i want compare it in my twig template to check if it is equal to A B C or D it always return false, so i tried print is as :

<span class="note note{{ fields.field_classe_energetique.content }}">

so i can change background color depending on the note, but same its not working because it is not only printing A B C or D but also all the theme hook, suggestions etc from Devel, is there a way to not print that only for this variable ?

installing drupal commerce kickstart

I have put the files in the correct place in my host . When i try to install drupal commerce kickstart with my domain and /install.php i land on the welcome page where i have to agree and then hit Let's get started and from there i get an HTTP error500. The details of that error:

Fatal error: Class 'MessageViewsController' not found in /home/wendyvf180/domains/houtenletterborden.be/public_html/comkick/profiles/commerce_kickstart/modules/contrib/entity/views/entity.views.inc on line 30 E_ERROR Error in file »entity.views.inc« at line 30: Class 'MessageViewsController' not found

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x