How to load a class that it's in vendor?

Hello, I have added to my project the resource 'symfony/dotenv', it's in vendor, and I'd like to load it everytimethe page it's loaded.

I'm not sure if I have to use an event suscriber similar to this: https://www.drupal.org/node/2013014, or I have to use another way to load the class.

Any sugestion?

Thanks

Tabs in views: first page doesn't show tabs or feature

I've a view which has multiple pages, the idea being that the first page displays all of one content type, the next another type and so on.  There should be a tab shown on each page showing each of the other pages available from the view.  This works for the second page onwards, but not on the first page.  Using Drupal 8 and the Groups module.

Page 1 within the view:

path: groups/%group
filter: shows all pages of type basic
menu: Default Menu Tab, Already exists

Page 2 within the view:

How do I add this repository to my composer.json file?

the repository is here in this guide: https://www.drupal.org/files/issues/interdiff-2860138-1-4.txt

this is what it looks like: 

 ```
 {
@@ -56,8 +56,24 @@ to installer-paths section.
       }
     }
 ```

How exactly would it look in the json file?

this is my file:

Content Input for non-admins

Another probably simple question:

I need to create content input screens for non-administrators, i.e. users who need to create content from existing content types but who won’t know how to navigate the admin interface of Drupal and shouldn’t have access to any of it.

It would have all pertinent fields and a button to “Save” the entry.

My assumption is that view with “Accept” buttons is the way this is done, but I wanted to make sure I’m thinking properly. Or is there a better way?

Groups: Display group title on every group page

I'm trying to get a view that displays the Group title on every group page on my Drupal 8 site.  There are some instructions for one for Organic Groups here so I've used that as a base.  The preview correctly shows the title as required and I've placed the block on the block layout page but it isn't displaying on any of my groups pages.  I've set the relationship as Group Content: Group Membership and the contextual filter as Group ID.  Any ideas?

views problems

Hello drupalians,
I created a content type "Skill Folder" that contains 4 types of paragraphs:
-technical skills.
-professional experiences
-Diplomes
-languages.

- When creating a user, the technical skills part is created by default.
-I created a block view: (I created a Drupalian role and the admin is admin and drupalian)
-I get to show each user his own folder but the admin I do not show his skills folder and also when I log in as another user I do not display the skill folder.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x