How to add Google Adsense 'Ad Unit' on Drupal 8.3 - step-by-step help

Hi experts
I am an 'old timer' newbie.

I managed to learn and setup this system and it is working fine and only asked once for help on how to change theme sidebar sizing, etc. which I fixed.

Now I am stuck with 'another' simple task on HTML, but all hell in Drupal 8 [at least for a newbie and non-coder like me].

I simply need to add Ad units [channels] anywhere I wish - especially Sidebars.

I have been reading for at least a week 'sporadically' and my arms just dropped at the 'non clear' explanations.

How to get the form array / object in hook_preprocess_input()?

I need a different form field rendering depending on the form attributes.

In general, does anybody know a way of getting the parent of the current element in preprocess and suggestions theme hooks?

Match User and Nodes with Views

Hello,

my aim is to display nodes in a view with relationship to the logged in user in Drupal 8.
The users have a education field and a education year (multiple rows possible at the moment with paragraph field-collection) and there is a assignment content type with one education and education year. I want to display all assignments with educations which match to the user educations.

Important point: If a user is in education year 3, all assignments with the education in year <=3 should be display, thats why a usual context filter on taxonomy doesn't work.

Multek & Sheldahl Websites Revamp

About the Organization
Multek is a subsidiary of Flex, and Sheldahl is a Multek-owned brand.

Sectors: 
Technology
Telecommunications

setErrorByName is not Displaying Error messages.

I am using drupal 8 and i have created a form in which there are say 13 fields. Most of them around 8 fields have error messages, in case the user inputs a invalid credentials. But the problem is it is not displaying the messages on submit. The submit function also isn't working and it just stays in the form page since there is error. Without knowing the error the user can't proceed further. Can anyone help me out?

Thanks in advance,

Karthikeyan. 

list of core-defined default tokens

hi,

how to get the list of core-defined default tokens ?

Have i to install some modules ?

Thx

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x