This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

About form in a page

HI,

I made a page ( let's say the name of the page is A ) to let user check in. The page only show an QR code.

When the anonymous user visit A, scan the QR CODE, the Controller behind the page will Redirect to page B. In page B, it will show an ID to the user. And since i want  know who got the id , so i need to know the name and other things of the user.

So i made a Form to gather these things.

Trouble with posting in Facebook

Seems, that some troubles with post articles on Facebook. On Wordpress all is good. So, maybe it's Drupal's problem.

Setting configuration in settings.local.php

In Drupal 8+, how do I set configuration in settings.local.php? For example, the site name can be retrieved like this:

$site_name = \Drupal::config('system.site')->get('name');

I ought to be able to set this value in settings.local.php something like this:

$config['system.site']['name'] = 'My Site Name';

This doesn't work. How do I do this?

Help create event or subscribe to it when I complete my order. (drupal commerce)

I have created a module that generates a license in the user field and I want to run its function when the user has completed the order (Paid).

I would be glad for any example or link, I just started creating modules)

If there is no "purchase completed" event, how can I view all commerce events?

Question on drupal.stackexchange.com

DrupalWebTestCase ending with error 500

Hello,

I am trying to create test for my module. I created .test file in module folder and added corresponding content into .info file. Code of .test file is following:

Good example/tutorial for buiklding a full main menu in a module?

I see lots of examples of how to create a single menu item from the .links.menu.yml file and can do that but am trying to figure out how to extend that to building a complete main navigation menu with x level1 menu items and each of those then has varying numbers of sub-menus.

I'll scour github but if anyone has a tutorial they have used please let me know.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions