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

Difficulty Implementing Multi-column layout using Drupal 8 Form API

I have a requirement to build several forms of which many require 2 or even 3-column (with a search button inline after a textfield). I'm amazed at how difficult such a trivial task has become - I've been scratching my head for days with unbelievable layouts staring me in the face - none really looking like a modern web form should look...

Get value from object in Twig template

Hi. I cannot get separate label and value from Commerce product

I wish get label and value from product.variation_sku like this:

<div>
<div>{{ product.variation_sku.label }} </div>
<div>{{ product.variation_sku.value }} </div>
</div>

but it not work. I tried change product.variation_sku.label with product.variation_sku.title but nothing. Please how can get this value?

warning: mail(): SMTP server response: 503 Bad sequence... includes\common.inc on line 2127.

Error Message:

warning: mail(): SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it. includes\common.inc on line 2127.

HAS BEEN FIXED PLEASE DISREGARD. Thank you

CSS in views

A column in the views shows the text in all major and I want to change the initial of each word to uppercase.
I created a css class and in Style Setting, Create a CSS class, I entered the class name.
I try but it doesn't transform my text the way I want.

This is the code

text-transform: capitalize;

if I use this code

text-transform: lowercase;

it works and writes me everything in lowercase

The requested page could not be found for the first module development

Hello, 

I am working on my first module development. I started with the hello world. I created the module folder directly under modules directory. 

I enabled the module. 

When I go to examplesite/hello/world, I get requested page not found error. 

I cleared the cache but the error message still there. 

Module zipped file

Programmatically set Double Field value

Hey guys, I need your help. The task is to fill a form programmatically and it seems to be pretty easy with entity_metadata_wrapper:

Pages

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