Bootstrap: scroll to #anchor in modal

Hi! I’m using Bootstrap theme and trying to create a help page.

1. users click, opens a modal, works perfectly

<a class="use-ajax" data-dialog-type="modal" href="/node/1">how to article</a>

2. in the node that opened up in the modal, I have a link to scroll to an anchor below.

link inside node = <a href="#how">How to Link</a>
anchor = <a id="how"></a>how to anchor</h5>

The problem is that the link does not scroll to the #how anchor.

The website encountered an unexpected error. Please try again later - drupal

Hello,

I am new in drupal. My website is runnig on Drupal 8.5.1 version.

Currently Site is running properly on front end. But while I try to edit and update or create new page using drupal admin panel it show following error

The website encountered an unexpected error. Please try again later

I Cannot access some or all drupal pages due to above issue.

Please help to resolve this issue.

Question about Installing Json File on Composer latest V for Drupal 8.9

I installed the latest version of Composer, and I need help, I am beginner  on this subject,

I just need to install the Colorbox library,  with Composer, because in other ways, doesn´t work

and for this, 

I need to install the Json file with Composer, in order to install JV libraries 

           with the composer open, I am in; C: / Users / 2> and when I say: composer init * enter, to start installing the Json File, it tells me:

Views - Replace taxonomy term white space into dash for CSS tag use

I'd need, to use in a view a vocabulary term as css tag.
I already do this by creating the CSS class {{ field_tags }} in Style Settings of field, but the problem occur when the tag consists of two words.
E.g. If the term is 'green economy' it's no useful as a css class, cause it should be 'green-economy'.

In D8 I have neither PHP Views nor Computed Field, and I don't know how to get this result.

Can someone help me?

RFP Custom Module to Block Users

I am looking to have a custom module made to block users from viewing another users content. I run an open social Drupal 8 site and want the ability to allow users to block other users from viewing their content and profile.  This should be a two way block, if user A blocks user B.  User B should not be able to view any of user A's content or profile and user A should not be able to view user B's content or profile.  

Description

Filter Exposed in views

In one view I have chosen an entity reference field as a filter.
The filter works only by typing the node number.
To allow the user to choose the Registry, I modified the field transforming it into an autocomplete text field and wrote a query to filter the data but it doesn't work and I didn't understand why.
The name of the filter field is
field_request_target_id

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x