Can i Use url embed module to add complex Iframe

Hi,

Need to add a complex Iframe to my drupal 8 site and tried iframe module but that's not rich enough, to contain the Iframe I need.

Iframe url =

Block with contextual filter adds a H2 link to my content ?

Hi,

I have an issue with blocks and I have no idea how to solve this.

When I create a content, I can attach a product to it. I created a block with contextual filters that shows the last three contents related to the same product.

It works, but for some reason, the title of the current content is displayed at the top of the page, only when this particular block is displayed too.

Example

hook_theme cached, only run once

I am passing variables that change depending on user role to twig from hook_theme in a .module file .  The problem is that the variables are cached and do not change until cache is cleared, so all users get the variables from the first user viewing the page. 

I have tried to set  '#cache' => ['max-age' => 0,] in the controller, but that does not help.

How can I disable or control caching done in hook_theme ??

What is the differents between Organic Group and Group module at Drupal?

I have checked both Group and OG modules. Both grouped content , audience. But group module structure different.

I have a feature in drupal 7 , developed totally based on Organic Group module. When I am going to migrate it , I found there is no stable version of OG module available in Drupal 8. So I am facing problems. 

Can I use Drupal 8 Group module to implement this feature which is based on OG module in Drupal 7. If I can implement this feature using Group module in Drupal 8, then how can  I migrate all data ? Because both structure totally different. 

What is the different between Organic Group and Group module at Drupal?

I have checked both Group and OG modules. Both grouped content , audience. But group module structure different.

I have a feature in drupal 7 , developed totally based on Organic Group module. When I am going to migrate it , I found there is no stable version of OG module available in Drupal 8. So I am facing problems. 

Can I use Drupal 8 Group module to implement this feature which is based on OG module in Drupal 7. If I can implement this feature using Group module in Drupal 8, then how can  I migrate all data ? Because both structure totally different. 

[SOLVED] CKEditor via field type "text_format" not working

Solution:

The CKEditor doesn't work when you explicitly set the "id" attribute through #attributes. I removed it, and now it works.

Original question:

Hi all,

I'm creating a custom form, which is displayed in a modal, and I want to render a CKEditor field in it, but so far without luck.

This is the gist of the problematic code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x