Webform - add a new element using drop down list

Hi,

I would like to ask how to add a drop down list using a web form. It seems that there is no input type like radio button and drop down list. 

Thank you.

Always show login page in Home

Hi,

I would like to ask if my main page (at home) always display the login form.... I would like to ask how I could change it to a basic page.

Thanks!

Problem writing Migrate tests using MigrateDrupal7TestBase

I am working on adding Migrate support to the Poll module. Progress and patches can be seen in this issue: https://www.drupal.org/project/poll/issues/2638406

How do I get to set the values of the entity reference fields on a new form

Hi all,

I have created 2 custom content types. The first (i.e. A) has three entity reference fields of the second content type (B).

In my custom module, I am trying to set the values of some fields of B when adding a new A content, but the

$form['field_my_B_1_field']['widget'][0]['inline_entity_form']['#default_value']

is null in the 'my-module_form_alter' hook.

Pleaseeeee, how do i get to set the values of the entity reference fields on a new form (the one when adding a new node of content of type A) ?

Thank you in advance.

Breadcrumb not showing on all page content types with no visibility set

I can't figure out why breadcrumb block not working correctly. With no block visibility group and no block page restrictions, it shows up on one page content type only if Visibility Pages on breadcrumbs is set to blank "Show for the listed pages". 

How to learn...

Hi All,

Whats the best way to learn drupal module development?

I am guessing this comes up a fair bit.  But if I was looking to learn drupal 8 module development, does anyone have any recommendations for books to learn from?  Or am I better off with online courses?

I am currently going through the freecodecamp tutorials (which don't cover PHP nevermind drupal module dev).  Therefore I am a complete new comer to Drupal (although I did dabble making a module under Drupal 5),

Any advice highly appreciated!

Thanks in advance,

Mark.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x