Help with requirements

Hi,

I need to develop a simple website with following requirements: -

1. A form with fields in which employees will input data to. They should select the organization they are inputting the data for (possibly from dropdown) and the data entered in the field should be stored for that organization.

2. Creating a dashboard to display the data as charts and tables for each organization. Each member of the organization should be able to see the data reports for that organization only.

Several Drupal versions configuration

We are going to organise our site into several subdomains the following way:

https://domain.com - Drupal 7
https://subdomain1.domain.com - Drupal 7
https://subdomain2.domain.com - Drupal 6
https://subdomain3.domain.com - Drupal 8

Configure block button

I have just installed Drupal 8 on a public site and also on a private test site. The public site shows a pencil within a round button in each block. When you click on it, it displays an option to configure the block. The test site does not show these buttons. I prefer not to see them unless I hover over the block. How do I hide these buttons?

How to replace deprecated entityManager()->getViewModes($entity_type_id)

How can I replace this, it's not clear to me which class and methods I should use now:

\Drupal::entityManager()->getViewModes('node');

https://www.drupal.org/node/2549139 (change record)
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityMana...

Behavior after log-in

In Drupal 8, is there a way to set it up so that when a user logs in, they are, after authentication, returned to the page from which they clicked the log-in link, rather than directed to their Drupal user profile page?

I'm not a full administrator of the site, so I want to know if it's possible before I go ask our admin to change it. And if need be, have the instructions ready to tell her how to change it.

(Please forgive if this question has been asked/answered elsewhere on forums.)

Radios Options Array Not Rendering In Custom Template

Hello,

I created a custom form that needs to use the Radios widget but is not at all rendering to a custom TWIG template. Instead all I see is the label but not the anything I placed in the #options array. All other widgets that I am using (textfield, select and checkbox) are working fine. If however, I do not try to use a custom template and use the default TWIG template, everything works fine.

Some portions of my code are as follows:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x