Parent title in subnav (drupal 8)

I am building a website where i generate a submenu based on my main navigation.
The structure looks like this:

  • Home
  • About
  • Work at
    • vacancies
  • contact

when u land on 1 of the level 1 pages, a submenu will appear in the sidebar with the children links of this page.
i want the parent title to show above this menu.

also, on the vacancies page theres a overview of vacancies, and when you go to one of the detailed vacancies i want it to show
"Work at" and not "vacancies" in the submenu title.

SNS site in Drupal 8

Hello all,

I would like to ask here whether at this point in Drupal 8's life cycle, is it possible to create a social networking site in it? What are the challenges (Apart from the modules.) What all things might be needed to put together to enable everything SNS-sy going on in Drupal 8?

I will be glad to know the Drupal community's outlook and this and request to share any input you have!

Thank you.

How to render views field or views row in drupal 8

Hi,

I want to render views row field or complete views row in custom module I'm developing in Drupal 8.

I know in order to render Views , we can use

\Drupal::service('renderer')->render(views_embed_view('content', 'block_1'));

The above code will render complete view, I want to render individual field or render single row,

I tried to get result row

$result = views_get_view_result('content','block_1');

but not able to render it,

Help me, Thanks

Feeling stupid - Commerce

Sorry for my bad english and sorry if I putting the question in the wrong forum...

But how or is it possible to install Commerce (as a user not a host) on my site?

My hosting is using drupal 8.1.0

Drupal 8 Multi Site Install Problem

Truble getting sites to load correclt after drupal 8 install.

Theming "Custom Block Types"

Hi... I need a help with Drupal 8 templates, please.

I created a custom block, I can create a theme for the custom block (the instance), but I can't create a theme for the Custom Block TYPE (let's call it "the prototype").

I meant, is there a way to theming the different Custom Block Types?

And a "bonus question": Why in the Theme Debug I can see "block--block-content.html.twig" twice? Should I see one "block--block-content.html.twig" and one "block--CUSTOM-BLOCK-TYPE-content.html.twig"

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x