how to expose prometheus exporter metrics in drupal 8

how to expose prometheus exporter metrics in drupal 8,

I have set up the prometheus exporter, can someone help on how to create the endpoint for the same.

Inserting script from views value

I have some ads that use <script></script>  that i get from a view and need to insert into a page.  I made a view JSON export and tried to import them in the template with javascript, but looks like that is too late in the process.  So, I instead added a views block that I imported in a custom twig template.  The problem is that views surrounds the <script></script> in quoutes, so intstead of processing the script it just show the full script.  I have tried to use | render | trim in twig to remove the outer quotes, but no success and I feel this is not the right solu

Migrate two user fields in D7 to field translated in D8

Hi everybody,

I have a problem. I can't migrate two user fields (one in english and another in spanish) to a one field translated in D8.

I have tried several options but all failed.

I have two yml templates (one for the user and another for the translation with parameter translations:true). These are a part of my yml files:

migrate_D7_user.yml:

PDOException during Drupal 8 project migration

I have a Drupal 8 project developed on my local. I am trying to move it to Client server which is Windows server 2008 R2 version. Steps I followed:

from server on localhost for tests

hey all, 

Upgrading D7 to D8, cannot use jquery from core or theme breaks

Upgrading site from D7 to D8. No custom modules. This is my base libraries.yml file.

global-assets:
  version: VERSION
  css:
    theme:
      css/cheslalitportal.css: {}
      css/icomoon.css: {}
      css/cheslacustom.css: {}
  js:
    js/main.js
  dependencies:
   - core/jquery

When everything is enabled

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x