DRUPAL_ROOT used in simplesamlphp config.php file but is not resolved by PHP

We use drupal constant DRUPAL_ROOT to point to our app docroot. We use it to point to our local development's settings for durpal/php to put the database configuration information into simplesamlphp configuration.

Here are our codes in config.php:

 if (!getenv('AH_SITE_ENVIRONMENT')) {

     // Add / modify your local configuration here.

      if (file_exists(DRUPAL_ROOT."/sites/default/settings.local.php")) {

          include (DRUPAL_ROOT."/sites/default/settings.local.php");

          $DB_host = $databases['default']['default']['host'];

Separate login pages, with role-limited form success?

We're looking into how, with Drupal 8, we can have a separate login page. One would be hidden, for website Admin and Editors, then a separate login for other, lower level users.

The idea is that the forms would be limited to roles. If a simple 'registered user' found and tried to log in with the private login page, it would not work. But they could log in from the general log in. 

Forum Core Module not working

Dear all,

I just enabled the Forum Core Module on my Drupal 8.7.8 installation and faced several issues:

First Drupal Site

This is my first site, and first custom theme, created in Drupal 8

Jämför Webbhotell

Was wondering if I did everything correct regarding SEO, UX and otherwise.

font awesome not available/not working

So drupal/lp_fontawesome  and drupal/font_awesome have been installed from composer however I am unable to use it as there is no sign of installation.

Things tried:

1.

Configuartion->Content authoring ->Text formats and editors->full HTML ->Configure : there is no 'flag icon available to add to CKE editor'

2.

Tried to test on some template:

<p> hello<i class="fa fa-thumb-tack"></i></p>

only hello is available

3.

How to hide AddtoAny on specific node (article type)

So the front page is a modified article.

To each article 'addtoany' element is applied however it is not required on the front page.

How to not display that element?

html for this element is:

<article data-history-node-id="63" data-quickedit-entity-id="node/63" role="article" class="contextual-region page full clearfix" about="/home" typeof="schema:WebPage">

Tried few things in css like:

some element {

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x