Help with the bootstrap_barrio theme?

The topic has not been updated for almost a year, when I give rights to edit the nodes, with the barrio theme, the layout looks awful help fix when I used the bootstrap3 theme.
When I go to the node editing page, by the user. How to change a button and its position. I turned on debug, saw the path form-element-label.html.twig, but when it was replaced from bootstrap3 theme, the button remained in "()"

How to build a feature like JIRA's Component and Version in Drupa?

I want to show a software's sturct using Drupal

the basic of my software is as follow picture.

the SW , Compontent and Module  have there versions ,and the code is in a git repository.

Is anyone kindly help me how to orgniz it in Drupal ?

this features likes Jira's Component and Versions.

Is Drupal have same contribute module can present this releations ?

Thanks a lot !

How to determine total rows for search view at infinite scroll?

I use Drupal 8, search API and a search view with infinite scroll (10 results per page). In a header field I display the number of search results with @total. Unfortunately, @total is always a maximum of 10, even for searches that should actually have 500 hits.
To determine the correct number of search results, I did the following in a custom module
function my_module_views_pre_render(ViewExecutable $view) {
  if ($view->id() == 'myview' ) {
    /*
     * calculate proper number of search results with a tmp view
     */

Altering trusted_host_patterns and opcache.enable=1 has no effect

I installed Drupal 8 manually (i installed Apache, PHP and MySql separately on Win 10) and i appended Drupal 8 to this install. I could start Drupal but i got the error: "Trusted host settings not enabled" and the warning: "PHP opcode not enabled". So i googled around and i uncommented

$settings['trusted_host_patterns'] = array(
'^www\.example\.com$',
);

in settings.php and i changed the pattern to my needs.

I also uncommented and altered:

opcache.enable=1

How to make an accordion (with Field group module) d8

Hi Drupalists! 

I need to make an accordion to a page. Field group module is said to have a functionality to build accordions, but I don't seem to get it to work (= all I see is my defined fields and their titles, but the actual accordion functionality is missing). Could someone offer me some step by step instructions please? And if Field group is not the right/best way to build accordion, is there some other module for it? 

Many thanks and have a great weekend!

How to wrap Paragraph fieldgroup horizontally

I want to display a few fieldgroups inside of a Paragraph side-by-side horizontally when in node edit form. I gave each fieldgroup the class .popular in the GUI in manage form display. The fieldgroup is of type Details. I added jquery wrap to a global js file that loads everywhere. I am using .ajaxStop because it works inside of Paragraphs after the ajax call.

(function ($) {
$(document).ajaxStop(function() {
$( ".popular" ).wrap( "<div class='col-md-4'></div>" );
});
})(jQuery);

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x