Trusted Host Settings

I followed the link to https://www.drupal.org/docs/installing-drupal/trusted-host-settings followed the instructions. They echo my video tutorial instruction.

I edited sites>default>setting.php

$settings['trusted_host_patterns'] = [
  '^www\.ukspeaking\.com$',
 ];

it returns this message on my site:-

'The provided host name is not valid for this server.'

Avoid scrolling in the body

Hi,

I have to scroll up and down to see the contents in my page. Here is the link to the screenshot where you can see the scroll bar

https://imgur.com/a/ur0yA63

Can you please tell me how can I adjust the height of the body element so that I dont have to scroll to see the contents.

Thanks,

How to set File from temporary://file.jpg

I thought I could figure this out, reading the Entity\File.php class governing this entity.

Through a theme, I've uploaded an image in its logo upload form in its settings. I see the file in managed_file with a URI of 'temporary://mylogo.jpg'and a status of 0 which indicates to me that it's in a temporary state that will be destroyed during the next cron run. 

In drush php,

Forum posts showing all user data (problem solved)

Hello,

I just enabled a forum on my new site and when anyone posts to the forum, there entire user record posts at the top of their post. How do I get this data to not show? It seems weird that it would expose all of this data in a forum post.

Search button in 8.9

We've updated our text environment to 8.9.0 and the button for the search form has disappeared. The code for the button just isn't there any longer. Has anyone else run into this or know of a fix?

Thanks

Kateva

How to create a custom view field in Drupal 8?

Hello,

I have been trying to create a custom Field to display using the Views package.

Following the instructions I found at www.axelerant.com/resources/team-blog/creating-a-custom-view-field-in-drupal-8-to-use-with-workflow-states, I have been able to get a custom Field to show up in the Add fields menu.

But after adding the field I get the following error message:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x