Drupal 8 referencing content by field

Hi all, a question regarding drupal 8 and refferenced fields. For example i have one content type with text field called field 'A'. And another content type that i want to have field with select list that i can choose the values from the first content type field 'A'. The two content will be refferenced by this two fields.

Thank you!

Alignment buttons in CKEditor

Hello,
I have a problem, I can't get the alignment buttons in CKEditor when I want to create a new article or page.

I added them in the configuration but without success

Thank you in advance for your answers.

DrupalCamp Israel Tel Aviv- 21.11.2017 -Google Campus, TLV

DrupalCamp TLV 2017

All welcome!

21.11.2017

Google Campus, TLV

Looking forward to see people from around the world coming to join us
if you need any help coming to Israel and set up your stay please contact
me in private!

http://2017.drupal.org.il/

Drupal 8 - Service unavailable after migrating from local to host

Hello,

I try to install a Drupal 8 website on an OVH shared hosting server. The installation seems to run fine, however after importing the database via Backup and Migrate and browsing the website for a while, the server crashes with a 500 Service Unavailable error.

Before another crash, I was able to reach the logs admin panel :

- I saw an error concerning the sites/default/files/config_* folder, stating that Drupal couldn't write the .htaccess file in it. However, when inspecting this folder, the .htaccess was there...

Help with content translation

Hello, I wanted to know how to create a view where I show the contents that are not translated.

Thanks.

Overriding a custom content type D8

In your .module file add the following functions

function YOURMODULENAME_theme() {
  $theme['node__YOURCONTENTTYPENAME'] = array(
    'render element' => 'content',
    'base hook' => 'node',
    'template' => 'node--YOURCONTENTTYPENAME',
    'path' => drupal_get_path('module', 'tm_YOURMODULENAME') . '/templates',
  );
  return $theme;
}

put node--YOURCONTENTTYPENAME.html.twig in your modules /templates/ directory

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x