Drupal 8 Split Menu

Hi

Has anyody experience or hints how to accomplish that, preferably without coding.

What I have done so far:
Created a menu L1 > L11, L12 ; L2 > L21, L22, Lx beeing the first level.
Created two blocks with this menu, one for Level 1, one for Level 2, configured first block only lvl 1 visible, second block only lvl2 visible.

But how can I synchcronize these two, like L21, L22 visible only when L2 clicked.

Or has one to proceed completely differently ? Or wait for a Menu Block v7 type of module ?

Thanks for info
Michael

D8 set default value of title of mycontenttype_node_form

In drupal 8, I'd like to set the default value of the title of my content type to $_GET['title'] via mycontenttype_form_alter() in module.
The type of $form['title'] is container, so I cannot set its value via $form['title']['#value'].
And if I set $form['title']['title'] to textfield, a new title field will be built.
I just want to set the default value of title by using $_GET['title'], how can I change the value of title field.

Two form in one

Hello, I have created two content type :
Album
Image

I would like know if it's possible to create a form to create album and many images.

Form example:

Album fields:
- Title
- Description

Images (unlimited) fields:
- Title
- File (upload)

After submit, I would like link all images with my album.

Can you help me please ? Thanks.

create a taxonomy and attach a field to it programatically

how can i attach a field to an entity (vocabulary) programatically in drupal 8.
I created a vocabulary

$vocab = entity_create('taxonomy_vocabulary', array(
        'name' => 'vocab_name',
        'vid' => 'vocab_id',
        'description' => 'description'
            ));
$vocab->save();

I need to attach a custom field to it. I created the field using

DataViz - Drupal Graph Modules - Vs 3rd Party Modules

Hi

Just installed and playing with drupal at this point. Since I am starting with 7, wanting some general advice and good information I can read up on relating to including interactive graphs in a Drupal website.

The Drupal Group here https://groups.drupal.org/node/93064has a good list of community and third party graphing libraries.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x