Status Rapport Error > trusted_host_patterns in settings.php

Hi,

I got this error at my DP8 Status rapport and tried to understand and followed the steps.

Problem is I can not change anything in the settings.php file

default.settings.php has the same problem.

I read something about not having permission to change this but can't find the article or sollution anymore.

Any ideas ?

I need to Enable Trusted Hosts in settings.php

So what file do i need to change and how do I get access ?

Thnx in advance !

doc

Grouped filters

I want to create a view from a certain content type where a date is entered where you can choose the dates of a particular quarter.

In my view, I put a grouped filter and specified it for 2 quarters at the start and end date. Functions perfectly.

Now I want to make that year independent. So that you can choose from the 2 (or 3, or 4) last quarters. It is not the intention (or can not be the intention) if you want to automate that you have to adjust your filter every 3 months.

Migration Custom Plugin Return Value

I have a migration and it is very simple.  I have a CSV file of employee number and years of service.  I have added the two fields to the users in the system and populate them when the users have been added.  I now I have a yearly file to update the years of service value.  I created the below Migration to import/update the seniority:

Media settings text is confusing

I'm trying to make sense of the text on /admin/config/media/media-settings on a D8 site. The whole thing is confusingly worded and seems to conflate third-party embeds with self-hosted content in iframes.

Displaying media assets from third-party services, such as YouTube or Twitter, can be risky. This is because many of these services return arbitrary HTML to represent those assets, and that HTML may contain executable JavaScript code. If handled improperly, this can increase the risk of your site being compromised.

How to create subfolder domain in drupal?

How to acheive below module functionality in drupal 8?

Ref: https://www.drupal.org/project/subfolders_domain

Call to undefined function gcd

I am making a custom module in which I am calling a function inside another function. I have defined that function in the class but I am getting this error call to undefined function gcd. I am sharing the code. Kindly look at the code and tell me what I am doing wrong.

Code of my Custom Module

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x