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

MODULE That Fetches Android or iOS Phone LOCATION

Wow! It has been 12 years I left Drupal.org
Now I'm back. It's all about mobile now. Less about desktop site.

I wonder, is there any module that could take or fetch the LOCATION once the user ENABLE their location in their smartphone (Android/iPhone)?

Render WebForm of a content field in twig

Hi,

In my site, I have created a custom content type called course and create content with this content type.

Each course is assigned a registration form by using a field with the type of WebForm.

For example, I have created a content "English course", and assign the "English course registration form" in the content.

And I am going to render the whole web form by using the twig template.

If I use {{page.content}}, It would print out the whole content which is not I want.

I used node.field_course_title.value for printing text value,

Search results not showing (YAML based view)

I have this module that creates a view, with a fulltext search as filter criteria.

In the editor, all the fields are listed properly, but when I trigger a search, no results are displayed.

The module creates the following entities from YAML :

Drupal Commerce Module Issue that Crashes/Rebuilds the site

Hi,

My manager and me are working on building a new eCommerce website for the company that we work for. We purchased a theme for Drupal 8 and everything seems to work fine until we get to the part of setting up the Commerce pages.  We setup the product attributes" first and things go haywire from there and we need major assistance.  Here is the error we get when we start working on the Commerce portion of the site using the Commerce module.

Creating node programmatically - where to put the code?

Hi,

I know that this is probably a dumb question, but... where should I put the code to create a node programmatically?
I've found many snippets to create a node from code, for example: https://gist.github.com/facine/35bb291811c146b6fc9e

But where should I put that code? In a custom module?
In D7 I could create a PHP script, bootstrap Drupal and then just execute the script... what about D8?

Thanks!

How can you update the class/id tags in Drupal?

Is there a way to change or add class/id tags to items in Drupal? For instance, I want to change a certain set of images but the only class listed on all images is "img-responsive."

I'm very new to Drupal and trying to teach myself everything in a very limited amount of time. So if you answer, please provide clear directions/provide screenshots that a newbie could understand! I really appreciate any guidance or direction to my possible next steps.

Pages

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