Art Tutor - Immersive, subscription-based learning community for artists

Laptop and Desktop computers, smartphone

About the client

ArtTutor is an online learning environment, hosting an extensive library of art-based classes. The learning platform is led by real-world tutors, complemented by an online community connecting art lovers and novices alike. They have amassed over 190,000 Youtube subscribers, with 11M+ channel views.

Sectors: 
Arts

scalability assessment - registration site for children's activities

Hello,

Last month I built a D8 site for attendance registration to children's activities. We need to control the maximum number of children coming to our summer activities (due to some virus). In the past we did not have an upper limit on attendance so we did not need a registration site.

I need to know if we should expect scalability issues with current setup. Content, Views and Modules are listed below. No optimization has been done AFAIK.

If we should expect long load times of pages/views (>5s), we would consider seeking expert help :-) 

Views - Page Template

I have installed Drupal and it is working fine, but we are looking at whether we can create a page for a views page.

We have a view with 2 blocks and 1 page and want the page to have a separate layout to other pages, I know it will mean creating an html.twig page but what I would like to know is it possible to have a views page have it own layout and how would I go about setting it up, please.

Running Drupal 8.9.1

Many Thanks
 

How to query an external, non-drupal Database

Hey,

I want to query an external sqlite Database. This Database does not contain Drupal information, or Drupal specific tables. It jus holds some data, I want to display on my website.

How can I integrate the database?

So far, I added it to setting.php:

$databases['external']['default'] = [
  'driver' => 'sqlite',
  'database' => '/gesamtausgabe_2019.sqlite',
];

And then, I try to call it in my Controller.php file:

question about inject core service in custom class.

HI:

I‘m little confusing about the injection of core services in my class.

I have a module, named with helloworld. And in the helloworld.service.yml  file ,i have the service defined like this:

services:
  HelloWorld.salutation:
    class: Drupal\helloworld\HelloWorldSalutation
    arguments: ['@current_user', '@config.factory']

In my HelloWorldSalutation class ,i have a __construct() function to inject the core services:

Image styles for media image in content

[Using Drupal D9]

With a 'traditional' image field in a content type, eg the default article type, it is possible to assign image styles and/or responsive image styles to the image, and to have different styles depending on whether the node is displayed in full or as a teaser etc.

I can't get this to work when using a media image entity reference field in the same piece of content. The image styles for a media image seem to be defined with the media type not the content type and therefore cannot respond to the displaymode of the content node.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x