Recently Active Questions

1 vote
1 answer
1k views

On my local Drupal 8 multisite environment in sites/default/settings.php I have: $config_directories['staging'] = 'sites/default/config/staging'; $config_directories = array(); Because the default ...
0 votes
1 answer
508 views

I'm using the search_api extension (V 8.x-1.14) with the Database search (no solr, etc.) I use the search block which is created by the search view (/search path) I want to show the highlighted ...
0 votes
1 answer
518 views

I have created a custom form, and I'm passing data to twig file from submitForm function as follows public function submitForm(array &$form, FormStateInterface $form_state) { $form_state->...
1 vote
2 answers
1k views

I am using drupal 8 fapi and i have user case as below I have a form on https://example.com/landing-page and I submit the form and there are validation errors .the page should reload as https://...
1 vote
1 answer
1k views

I have a custom entity (Possession) which has a non-standard edit form. The route for the edit form is the following. entity.possession.edit: path: '/individual/{individual}/possession/{possession}/...
0 votes
1 answer
605 views

My html code: <div class="workList col-lg-4"> <div class="view-back"> <a href="" target="_blank">&rarr;</a> </div> <img class="img-responsive" src="<?...
1 vote
1 answer
710 views

I am trying to dynamically populate a select field (chamiponship) based on the selection in another field (country). It works fine when I load the page but just the first time, the second time I ...
0 votes
1 answer
573 views

I have Drupal 7 installation with the Domain Access module. I need to have different page--front.tpl.php templates for some of the subdomains, for example: www.example.com should have one type of ...
3 votes
1 answer
444 views

The Chosen module no longer get applied to Webform select fields with the most recent updates to a Drupal Commerce 2.0 site that I am working on. I am using Chosen version 7.x-2.0-beta4+1-dev (part of ...
1 vote
2 answers
471 views

I am using References module to make a node reference in my course content type that reference to school content type (a course belong to one school and a school have many courses). Now what I want ...
0 votes
1 answer
700 views

For a statistics page I let users select the right file in a select list. After that I generate a table with stats. This table also has a pager (that worked without the ajax part). Now I did ...
0 votes
1 answer
580 views

I'm trying to theme the user registration form in Drupal 8. I have defined a custom template for user registration form and printing the fields with the following code. {{ form.field_profile_title }} ...
1 vote
2 answers
646 views

I have a view in node-view mode that has another view (a view slideshow) embedded into that view. I am using jquery and setTimeout to slideDown the hidden div that contains the view a few seconds ...
1 vote
1 answer
1k views

I am trying to update some field options in an inline entity form with ajax. This should happen, when someone selects a value in an other field. I already have some code which "works", but the ...
0 votes
1 answer
864 views

I have a view that by default is ordered by date. It has several exposed filters one of which is for filtering by text (we use it as a search field). I'd like the view sort to change to Relevance when ...

15 30 50 per page
1
2 3 4 5
5877