I have to filter out some view results programmatically because the filter is more complicated than what the build-in filter can handle. Now in the template file I've created for this view, it must display 3 items regardless of if 3 view result rows exist, if a view result row doesn't exist it displays a placeholder.
I've been able to filter out the rows by creating a temp array and setting $view->result to that, however, after resetting the array keys to be a normal order (0, 1, 2, ...) the template file is unable to access those...
In the form of a content type called "Item" we would like each field data to be accompanied by contextual data about a) provenance (i.e. similar to academic reference with a note and a URL to a resource) and b) copyright information (i.e. another note and URL). This is like qualifiers for each piece of data. We are thinking of two ways of doing it:
I have installed and enabled the 'Responsive and off-canvas menu' module. I've also set up the dependencies and everything's good. The menu is working. However, the child items in the menu slides in from right; instead I want the child items to expand vertically (below the parent item).
I looked at the mmenu.js documentation and they have an option to disable the 'slidingSubmenu' option. It works with the normal HTML setup but it's not working with Drupal menu's.
Any idea how to make it work with Drupal 8.x? I'm kind of lost. Please share your experience/suggestions.
Hello i am looking for a requirement where i need to create a quiz with 4-5 questions. each question has its own weight / marks and at the end total marks / weight will be show along with dynamic content and images etc will be displayed please guide me modules
I've newly installed drupal 8.9.6 (where there is no need to manually install composer as described here) and I'm now wondering why there is no Theme nor UI available...