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

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:

When Check button is pressed(h5p)

Hi everyone

I'm new to Drupal and i would like to ask something because i m creating my own module( PHP ).

I would like to capture when the check button in an h5p quiz (question set or multiple choice ) is pressed.

How can i do this?

Is there maybe a specific function or an event that is triggered when the check button is pressed?

 

Thanks in advance

Ajax Form Callback deletes all properties

Hi,

I have a form for a single dropdown select that uses a callback on change to update some elements on the page and make a few calls to an API, to update values in the API. Here's the code:

Exposed filter on a view ignores Vocab ordering (taxonomy list)

Hi

I have an exposed filter (dropdown) on a Drupal7 view displaying terms from a taxonomy list.
The dropdown is ordering alphabetically even though the taxonomy list is ordered by weight.

I've tried everything. Arrrghhh!

Can the order be set programmatically using form_alter or some other way?

https://www.dropbox.com/sh/la8w6ydw3886tyw/AAArerMbYs6TYPiurQcb3xBMa?dl=0

Inserting script from views value

I have some ads that use <script></script>  that i get from a view and need to insert into a page.  I made a view JSON export and tried to import them in the template with javascript, but looks like that is too late in the process.  So, I instead added a views block that I imported in a custom twig template.  The problem is that views surrounds the <script></script> in quoutes, so intstead of processing the script it just show the full script.  I have tried to use | render | trim in twig to remove the outer quotes, but no success and I feel this is not the right solu

Pages

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