Unanswered Questions

9
votes
1answer
538 views

How to access values from earlier steps in multi-page Webform?

I'm using Webform 4. It uses Drupal's tokens, not it's own % tokens like it used to in version 3, and pretty much all what I found was about webform 3. Say I want to make multi-page subscription form....
9
votes
2answers
657 views

Any way to filter by week number?

Drupal 7, Views 3 I've got several views configured which display data over many years. The data is filtered by Year using a date field as filter criteria. For each year I have attachment views that ...
8
votes
1answer
221 views

How do I go about migrating books from a Drupal 7 install to Drupal 7 using MIgrate_D2D?

I've had to rebuild my sites recently due to a hit on the Drupalgeddon bug I thought I closed. I've been trying to migrate everything in easily but it doesn't seem to want to for whatever reason. Now,...
7
votes
3answers
458 views

How to enter incomplete or partial date with date module? (Day-Month-Year / Month-Year / Year)

I have a content type A and it has a date field. I'm selecting Day-Month-Year for this date field. But not every content has a day and I want to select only Month and Year for these content. If I ...
7
votes
6answers
642 views

Comment Reply Form through Views

I think this is an interesting question, and I am wondering whether there is a possible solution to this using views. We have a comment body, using views, where we have the name, comment, picture, ...
7
votes
1answer
507 views

Query method not triggered in custom filter handler?

I'm using Views 3. I needed to create a custom Views filter that handle dates range. So I looked at example and tried to mimic the behavior and I got some trouble. It seems that when I extend my ...
7
votes
2answers
894 views

LIKE clause not working in hook query alter

I'm trying to replace the default search with a LIKE clause in Drupal 7. I tried to alter the query according to What is the best way to add an OR condition to an existing query?: function ...
7
votes
1answer
2k views

Selected Checkboxes (taxonomy) populate a new select list with values of selected boxes

* question answered: Help needed with hook_node_submit in custom module to save data * In Drupal 7, I have a custom content type. In this, there is a multi select term reference to select ...
6
votes
2answers
109 views

How to synchronize roles between drupal sites?

I've set up a multi-site Drupal installation. The main site is example.com and we also have a.example.com and b.example.com. I own example.com, and I rent a.example.com out to Person A, and b.example....
6
votes
1answer
102 views

Prevent devel module to be installed on prod

Using the new Drupal 8 Configuration manager, how can I prevent it from installing the Devel module on certain environments? As far as I know, installing it on my local means the next time I export ...
6
votes
1answer
88 views

Which tables should be emptied when clearing database-stored cache manually?

Prior to D8 to clear cache manually one could truncate all tables beginning with cache_. In Drupal 8 there are still tables starting with cache_, but there's also a cachetags table. Is the advice in ...
6
votes
1answer
331 views

Insert 'select all' choice in a particular level in Taxonomy Term Reference Tree Widget

I'm using D7. And I have a big term reference tree with Term Reference Tree. There are so many terms in the tree that I'd like to put 'select all' choice in it for usability. Is it possible to put '...
6
votes
1answer
631 views

Get title of page

When I get the title on some pages, I get an empty title like Home. The code I am using in my subscriber is the following one. class HistorySubscriber implements EventSubscriberInterface { public ...
6
votes
2answers
287 views

Add custom views options

I am trying to add some custom view options. I am not even sure if what I'm trying to do is possible. Basically I want to put a custom option under the Other category. It would look like: My custom ...
6
votes
1answer
537 views

Multisteps Webform loses current page when refreshing browser

I've created a Webform with three steps. When I refresh the browser (F5) on step 1 and 2, I correctly remains in the same page. If I do the same in step three, I go back to step 2. For ALL the steps ...

15 30 50 per page