Recently Active Questions

1 vote
2 answers
5k views

I am new to drupal. To import xml data into drupal, i followed these steps given in this website which i mentioned it below. http://www.drupalprogrammer.co.uk/2012/12/use-feeds-module-to-import-xml-...
0 votes
1 answer
1k views

I need to navigate the user through different pages of a multistep webform. I have added additional submit button to the webform using following code. function mymodule_form_alter(&$form, \Drupal\...
4 votes
3 answers
863 views

Working on a new Drupal 7 based site. Put together a few sites back in the 5 days, but lots has changed. I'm looking to allow users to upload images to a particular content type, and to show those ...
0 votes
2 answers
599 views

I have created custom module with custom form, in which I have added input type select. Form submission is working fine, but I wanted set select option value as custom class for BODY tag.
2 votes
4 answers
925 views

I have following Html code, I want to rewrite two field .1st is [field_poster_hover_image] and 2nd is [field_team_image] .This is my HTML Code. <div class="thumb thumb-type-1"> ...
0 votes
1 answer
591 views

I've been trying to resolve an issue with no luck. For some reason there are no submission indicators out of the box with D7 Webforms and from what i've found it doesn't look like they have any plans ...
1 vote
1 answer
575 views

I am using Search Api Views module to list some publications. User can filter them using facets. For example he can look for publications only in Kenya. I want to update the title of my page (view) ...
0 votes
1 answer
840 views

I want to display the datetime field on my Drupal 8 form with some date loaded from the database, but the front end always shows empty fields as if no data has been provided. I tried several ...
4 votes
1 answer
461 views

I need to migrate a CSV file of 3000 Taxonomy terms with depth of 5 levels deep. This is a small sample of the CSV comma-separated values file. About Us About Us, Our Programs About Us, Our History, ...
0 votes
1 answer
1k views

I am using a Twig template to render a form that has a variable number of elements. Each element's key in the form is sequential integer. So in my template, I can do this: {% for item in form|children ...
1 vote
1 answer
585 views

The content architecture of the site which I am working on is something like:- Song - Content type Genre - Vocabulory Song has an entity reference field which points to the terms in "Genre" vocabulary....
0 votes
1 answer
1k views

I am programmatically creating users for the roles Parent (Adult) & Child (minor). During registration, minors (Children) typically will not have email addresses but Drupal user registration ...
2 votes
1 answer
4k views

I am using the Webform Rules module and I created an event 'After submitting webform', and an action 'Fetch webform submissions'. When I add an action 'Show a message on the site', I get all the ...
0 votes
1 answer
637 views

Can someone please suggest how do we add line items to an Ubercart order in Drupal 8? When I look at the references in Ubercart module, I get this: // Load line items... has to be last after ...
1 vote
1 answer
519 views

I have webform component labels like this: Did [your pet] have any illnesses? and I want to replace [your pet] with a variable token? Do I need to write a custom module or can I do this by editing ...

15 30 50 per page