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 "()"
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
*/
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
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?
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.