php - allow_url_fopen - once set up, can I, should I, turn it off?

I've been googling and not found a clear answer.

I set up a new D8.9 site

Then upgraded to PHP7.3 (to play with D9).

Then realised I needed to add a Module to the D8 site. Redirect on Login.

Composer failed - allow_url_fopen was OFF.

I went to WHM and changed it to ON, and installed the new module.

(I looked at my PHP7.0 set up, and allow_url_fopen was ON, hence no problems previously).

However my googling made it is clear that allow_url_fopen ON is considered a security risk.

QUESTION

schweizerfleisch.ch - Website Relaunch

"Schweizer Fleisch Magazin" is the leading authority on the subject of Swiss meat. Content is produced and distributed with the aim of strengthening appreciation, trust and sympathy with regard to the product and its local production. The Magazine tailors it's content to consumers and their needs (from private to education to gastronomy), delivering relevant, readable and visually appealing content highlighting "the subtle difference of Swiss meat".

Sectors: 
Non-profit
Retail and Distribution

Content Editing

Which file would contain the code to process output for the content block?  My goal is to change the tag words so that it spaces between the words instead of a break.

Thank you,

kevin

Themes are not being displayed correctly.

I have installed Drupal 9 for a website I am creating www.MichaelHepner.com/drupal9 but the themes are not being displayed correctly.  It seems that the styling is not being applied and everything is appearing on the left side of the screen.  Thank you in advance for your help.

Only local images are allowed.

upgrade to Drupal 8.9.0 causes security review warning

I was at drupal 8.8.6  and security review 8.x-1.0-alpha1

i ran security review and got no errors/warnings.

updated drupal core to 8.9.0 via

composer update drupal/core-recommended --with-dependencies

reran security review and got the following: 

Executable PHP in files directory

The Drupal files directory is for user-uploaded files and by default provides some protection against a malicious user executing arbitrary PHP code against your site.

How can I get the menu ui link from a node?

I'm trying to get a specific menu link to a node but we have a giant menu structure with more than one link to the same node.

$menu_links = $menu_link_service->loadLinksByRoute('entity.node.canonical', $route_params, $menu_name);

This code works but $menu_links sometimes has multiple links.  The Menu UI module somehow keeps track of only a single menu link even if there are multiple links in the same menu to that node. I'm calling this the menu ui link, though maybe there's a better way to refer to it.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x