Image Resizing from file_managed

Hi All,

I've been tinkering with building a new module (prior to jumping in fully and building a website).
I've created the admin forms and my image is being successfully uploaded and saved to the file_managed table... all good.

I've then got the image path from this table:

if (file_exists($src)) {
echo "FOUND";
}

D8: How can I, from my module content type, access data inside a body which is inside a content instance?

How can I, from my module content type, access data inside a body which is inside a content instance in Drupal 8?

Fatal installation error, connected with MySQL

Help please! I've tried to setup Drupal 8.0.1 on server many times, but i have these problems:
- Your MySQL server and PHP MySQL driver must support utf8mb4 character encoding. Make sure to use a database system that supports this (such as MySQL/MariaDB/Percona 5.5.3 and up), and that the utf8mb4 character set is compiled in. See the MySQL documentation for more information.

D8: How (easily) associate a "backlinks" view with a content type field and display (without EVA for which there is no D8)

In all of my sites I make heavy use of dynamically computed entity reference field backlinks (using Views with contextual filters).

For example, if a node page has a 'visit also' entity reference field, it also has a 'Visit also (backlinks)' field created using the extremely handy contributed EVA: Entity Views Attachment, for which there is no D8 version yet.

D8: Use different "taxonomy_term" view for some vocabularies

In D8 in default the view "taxonomy_term" is used to render a term page with the referenced nodes. For some taxonomy term (depending on vocabulary) I need to use another view (or display) to change the output of the term pages. But all other terms/vocabularies should use the default "taxonomy_term" view.

Is there a simple way?

Currently, the only way I found was to alter the Routing for /taxonomy/term/{taxonomy_term} and use my own controller with a switch logic on it. But I think there must be something simpler (maybe some "special" settings inside the view).

Drupal 8 and the Ajax part

Hi,

I've been searching high and low for this - but I cannot find any good documentation on how to rebuild the form_state in Drupal 8.

I have a "classic" form with two select where the first select is filled out and the second needs to be populate on what you select in the first.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x