form ajax with custom template

Hi,

I'm creating a module that has a custom admin 2-col page that uses ajax to populate a div, showing content based on a dropdown selection before form submission.

It all works fine, and I can see the container updated by ajax.

But when I try use a custom template for 2-col layout, I get the following inserted into the container:

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (50 MB) that this server supports.

.

.

.

.

Translation of {node.field.value}}

I am making a multilingual Drupal 8 website. I have added some Twig files to adjust my apearances and every {{content.field}} tag apears translated as it should. I then tried to add field values without its labels with {{ node.field_available_for.value}} and that one only comes out in the original language. How can I fix this? I have searched for documantation about the matter but all of it was unclear or outdated,

Thanks in advance

Update field widget settings value in site through update hook

Hi,

I am using maxlength module to show message like 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'. I want to reword this programatically for all text field and textarea in site. 

Please advise on this.

Displaying and formatting Blocks within a D8 Region

I am using the Foundation 6 grid system for my site: www.debitsandcredits.com.

In my header region, I was unable to get the css to work to have the logo on the left and the email address on the right, so I created a header_left region and header_right region in place of the header region.

Then, in page--front.html.twig I wrote this:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x