Listing commerce order items in your preferred language in admin interface

In Drupal 8 Commerce 2.0 order item titles are saved in customer's language. This creates a huge problem in the admin interface (/admin/commerce/orders/*) when the contents of the order are listed in e.g. Chinese, Japanese or Arabic letters which the staff is uneducated of and therefore they are unable to process the order. What would be the easiest and the most user-friendly solution to show the contents of order (order item titles) in any language the admin chooses?

Connecting to MySQL via PHP

I have a custom made website that I want to migrate into Drupal, and a lot of it consists of PHP scripts using pdo running queries against another MySQL database and displaying the results (usually in tables). I have not used CMS before, so some things are a bit new to me.

I have added my second MySQL database to the settings.php as suggested on a stackoverflow post, but I'm stuck on what to do next. How do I actually go about adding PHP to my pages (currently it seems I can only add HTML)? Are there any modules that I need to install to get this to work?

How to create a region in D8

Hello,

I like to create a region in my D8 site. To do that, I added the following code in page.html.twig file. I can see the region just fine under structure > blocks > block layout page. Region name is eclipse. 

Adding node edit form to existing route with parameters

I would like to alter the node edit form location so instead of having node/{node}/edit to {person}/node/{node}/edit, I have used a routeSubscriber to alter the path and if i go to /nick that page works fine ,but nick/node/1/edit gives me a 404, /node/1/edit gives me a 404 so i assume that the route has been altered but i cant seem to get this route to work.

Any help apreciated

TLDR: is there a way to add an existing route to an existing route that contains parameters

adding link in view

We have a database content type with fields from user submission that display ok.  I would like to add a simple HTML link as a field ABC and then when you click ABC it goes to the URL.  ABC should be a small logo.  How to do this both for text link and logo link?

Regarding Layout Builder Module Error

Hi Guys, i'm getting this error while installing layout builder modal module.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x