This forum is for assistance with theme development.

drupal_view() and exposed filter with AJAX creates new output per each submit

Im using exposed filter which working with ajax through default template as expected, but once using

{{ drupal_view('books_page_view', 'page_1' }} to render this page view in template, its create new output per each filter submit
it tried to use contextual arguments but i need use multiple filter together and should be dynamic so it only works for a stable arguments
is there another way to use view and prevent create new renders?

Filtering webform submission view not working

Hi,

I have created a view that shows some webform submissions (a list of title, first name, last name). But when I want to use a filter (for ex showing only ladies) I'm getting issues. 
I'm in "Add filter criteria", I select the field I want to use to filter (for ex Name: Title). 

When I click the "Add and configure filter criteria" button, I see the spinning wheel for a couple of seconds and then nothing happens. I'm still on the "Add filter criteria" screen while I would expect to go to the configuration screen. 

transferring domain and subdomain

How do I transfer files form a subdomain (drupal 9.1)to a domain in drupal 9.1

I created a subdomain that would a theme (dark news) that I would like to make my domain. 

Subtheme not identical to original after creation

Hello everyone,

I installed bootstrap4 theme and I created a subtheme using bootstrap4 appearance configuration menu.

When I activate bootstrap4 theme, I have a visible header and footer background color.
When I activate my bootstrap4 sub-theme, my header and footer background color is not visible.

However, when I compare style.css, style.css.map, style-4-5.css and style-4-5.css.map for both themes, they are identical.

Where does the difference come from ?

Remove the link to itself

Hello!
I am making a theme for Drupal 8 || 9
I need to remove the link to the current page. Replace the tag <a> with the <span> tag, if the link has the "is-active" class

For drupal 7 I wrote this code:

Document file contains both text field and file

I need a field to get a page url or a file, template loops this field content and if contains file will show Download button else shows View button, so in dashboard if user uploads any file, template ignores the text field

currently I used default drupal media file contains description, so if description field filled it ignores file rendering but the problem is that user must upload a file to access description field means at least must upload a file on server

How we can have a field with both inputs?

Pages

Subscribe with RSS Subscribe to RSS - Theme development