Create a Custom View

So this is my first time using Drupal8.0.1 or any drupal for that matter. My intention is to use it as a CMS in a decoupled setup. I did my first test page and was able to get it to spit out JSON which is great! But now i'm wondering how do i query for other things in drupal such as the email address in the site information > site details?

I would imagine i need to create a custom view but from there i'm a bit unsure of what to do or if i even have the proper terminology.

Any advice would be great.

Thanks

Printing node label without span wrapper

Hello,

I'm trying to print the node label in my node.html.twig template without the span wrapper around it.

Because:
<h2>{{ label }}</h2>

Wraps a span around:
<h2><span>Node title</span></h2>

Is this the right way to do it (see below)? I doubt it so that's why I ask.

My solution so far:
<h2>{{ label.0['#context'].value }}</h2>

Desperate to get rid of teaser mode

Hi all,

I'm really hating teaser mode, which Drupal 8 seems to be forcing upon me. The only place I can think of where I would ever even consider using it is to display search results. Is there a way to make it go away and just display full nodes?

In the meantime, it's horribly mangling my front page.

Drupal 8.0.2 has problems with Views that I didn't have with Drupal 8.0.1

I'm having a problem with Drual 8.0.2 that I did not have with 8.0.1. in regards with Views.

When I make a change, it won't change and close the configuration window. I have to close the View and reopen to see the change has been made and sometimes the change has happened and sometimes not.

I thought it might be because I was using Adaptive Theme or that maybe it might be one of the contrib modules was causing the problem, but I decided to use the theme out of the box and only the modules that come with it and it still happens.

Drupal 8 with Foundation 6

Good day.
I'm trying to Configure a theme to include foundation 6(css and js) and create a block type that outputs a Foundation 6 Orbit slider.
After 3 days of diging and reading i'm in a dead end.
Does anyone has a hint or a guide for this task?

Field using entity reference to another entity showing only titles

I am using 8.0.2 fresh install. I created two content types:

1. Inventory
2. Inventory Item

Inventory Item has a entity reference field type which links back to Inventory. Using default settings and auto-complete this kind of works. The problem is I need the auto-complete to use the Inventory "part number and/or part name" not the title.

I created a custom view, changed it to type entity reference, selected the part number as the entity reference "style options" - hit save and the view works as expected.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x