Retrieve UUID

We're trying to find the UUID of content items so that we can display them in a menu. I've found the UUID Extra module (located here), but I haven't been able to get it working as advertised. Can anyone out there give us a hand?

How do I convert the normal SQL query into entityQuery

$database = \Drupal::database();
$query = $database->query("SELECT nfd.nid,book.field_book_target_id FROM `node_field_data` as nfd
Inner JOIN node__field_what_test_are_you_taking as ques1 on nfd.nid = ques1.entity_id
Inner JOIN node__field_what_are_you_looking_for as ques2 on nfd.nid = ques2.entity_id
Inner JOIN node__field_have_you_taken_the_test_be as ques3 on nfd.nid = ques3.entity_id
Inner JOIN node__field_target_level as ques4 on nfd.nid = ques4.entity_id

How does the number of class count on my page and display it in my menu ?

I have a site with Drupal 8 and I have created contextual views to display the tasks to do for the user. It works, but I need a counter in my menu.

Each type of task have a class :

  • For red tasks, there is the class .task-danger

  • For orange tasks, there is the class .task-warning

  • For green tasks, there is the class .task-success

Rewrite problem for https

I am building a Drupal 8.8.1 new site on my home machine. It works perfectly if I use an address like http://192.168.1.5/bpc/bpc/web

But if I use https://192.168.1.5/bpc/bpc/web/ The home page works, but all others require "?=" to work. So clearly, mod_rewrite is not working for https. I don't think the .htaccess files distinguish between http and https, so I think this must be somewhere on my apache2 server. Any ideas?

508 Accessibility

I just started a new job as the manager for a development team but I don't know anything about Drupal (I'm a c#, Python, MEAN full stack engineer).

Where can I obtain documentation about "How To" address 508?  I searched documentation site but did not find anything.  I'm looking for answers to questions like, "Must you use themes to address 508?" and "Can you address 508 without applying new themes?" and, most importantly, is there a document listing all 508 standards as it would apply to Drupal?

Thank you.

.stp files download over Private Files system - Access Denied

Hi,

Drupal8

Is there any difference on how Drupal handles download of different file types (PDF vs STP)?

I setup Private File System for the files that can be downloaded only by Authenticated Users. We have 3 types of files: .pdf, .stp and .step. Two last file types are 3D model files. As a result the PDF files are downloading as expected but STP and STEP can be only downloaded if you're logged in as Admin, otherwise: "You are not authorized to access this page". Am I missing something?

Jacek

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x