How to fire submitForm() of a form added to a html.twig

Hello friends,

I have a custom form ContactForm.php that extends FormBase.

I am rendering this form in a html.twig template via a controller as follows:

ContactController.php

Views are broken, D8

Views are completely broken, unresponsive, no settings can be edited, new added views can not be edited, ajax doesn't respond, on old Views Image field styling settings are broken... what to do... no views can be imported, uuid problem is everywhere...

Setting Up Mailchimp API

I'm running a website on Drupal 8 that collects user's emails through 2 different webforms within. I generated the Mailchimp API key on their "Connected Sites" as a 'custom website' (since I'm not using Drupal e-commerce). I then plugged that API key into Configuration>Web Services>Mailchimp, selected "Enable Connected Site", and chose it for my website.

Searching for a good D8 Theme that fits my needs...

Hello,

I maintain the website of my wife's beauty shop which is currently running D7 without a responsive design. Now I am in the process of porting the site to D8. Unfortunately I was unable to find a theme that fits my needs - and I tried at least 10 so far…

At the moment my favorite is Pixture Reloaded, but it has a few Problems. And when I look when the last commit was, I don´t think that they will be fixed…

The problems are:

How to create content type unique key made up of two fields?

I have two (2) content types, i.e Product and Grade. Every Product can have one or more Grades. I am looking for help in defining a combination that uniquely identifies a Product and a Grade in my Grade content type. My Product content type have a productId field, that I have already referenced in my Grade content type. Grade content type have a field gradeCode. I would like to make productId and gradeCode as my primary key. How do I achieve this in drupal structure? 

How to display something on a page with content already there?

Hello,

In the past 13 or so days, I had nothing but frustrations trying to get started learning Drupal 8 custom module development. Reading the online documentation, example, purchasing 2 eBooks, watching 2 Lynda.com video series, watching another series on YouTube, and I am not even close to understand what this is all about and how this works. Not to mention, why does this has to be so complex!?

I'm not looking for a line-by-line code solution, just a general guideline/idea on how should I go about doing this simple sample exercise I came up with.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x