Help with D8 .theme preprocessing and field manipulation

My head is stuck in D7, can someone assist in how I need to manipulate field values in preprocessing for D8?
Here is where I am now. It semi-works as in I am getting at the field value I need to drop into a var for twig, but I cant figure out how to remove/unset the field so it wont render.
Also I am fairly sure there this is the wrong (long) way of manipulating field values (can someone put me on the right path?) Any assistance greatly appreciated!!!!

D8: Looking to create new field types

I've just taken on a project of bringing an extremely customized version of D6 up to D8. I'm finding a lot of functionality will need to be rebuilt since the site relied of custom modules. One of the first things I'm looking at right now is adding different type of node field types. I haven't found any modules yet that do this (maybe I've missed some?) and am currently considering doing this and putting it up here as an available module. Would anyone else be interested in this?

CSS Cache - Rebuild

I don't know if this is the correct place to ask this but I have the following situation:

I've created a custom sub theme based on the foundation base theme on a local test server.
I uploaded the custom sub theme to the web server and configured it for use.
Checked the site online and everything seemed in order.

Display Suite, does it create responsive layouts?

I'm using D8 for a site that I'm building and I am looking at Display Suite for layout. The main question I have is if the layouts created using DS are responsive. If not automatically, is there a method for making them responsive?

Proper way to create a Newsticker in D8

Hi,

I created a content type "News" with different fields like title and text. Now I would like to show only the Headlines and maybe the creation date like a small newsticker on other pages.
So I think a view with a display "Embed" is the first right step to do this.

For showing the rendered view in a template I found this solution for my THEMENAME.theme:

function THEMENAME_preprocess_node(&$variables) {
//do some checks of right node type etc...
$variables['newsticker']=views_embed_view("news_view","embed_1");
}

Main Menu links are automatically turned off whenever I try to change it.

My English is not very good, I hope you can understand.

I recently installed drupal 8.0.3 by downloading it from your site. I configured the Installation and there all good.

The first thing I wanted to do is edit the default menu "Main Menu", and added four links.

For each new link I check the box "active", then save and yet not shown, only the link "Home".

Back to edit it, and it turns out they are all disabled box least "Home". I active again and save, and do not appear again. I go back to edit and once again are all off except the link "Home".

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x