Drupal 8 & PHP OPcode caching on shared hosting

Hi there

I was trying out Drupal 8 under an account at a respectable webhost in Germany.
During installation everything else was OK, except PHP OPcode caching which was said to be not activated.

Drupal 8 jssor slideshow

I have downloaded the jssor slideshow module and enabled it. In the documentation is the following:
"Download the jssor slider, rename the folder as 'jssor-slider' and place it
under your libraries folder. So you structure should look like this:
libraries/jssor-slider/js/jssor.slider.min.js."

My question is: What is the parent folder for the libraries? If I have to create it, where do i put it?

Sorry if this is a stupid question, but I don't have an answer for it.

Entity reference values in twig template

How do you capture an entity reference field "ex: related book" and use its values (title, image, body) in a single node twig template?

Child menu element shown on only that childs page

I am using the standard menu block for side navigation (not using menu_block module). On a child page, I want to show only the children of that parent in the menu, and hide the children of other parent level links. For example...

Item A
----- Item a1
----- Item a2
Item B
----- Item b1
----- Item b2
Item C
----- Item c1

If the user is on any of the following pages "Item A" or "Item a2" or "Item a1" ... they will see:

Item A
----- Item a1
----- Item a2
Item B
Item C

Referencing a contact form in setting up content type fields? (Drupal 8)

Short question: Can I reference a contact form when setting up fields in Drupal 8?

Use case: I have a website with multiple business units and multiple products each of which has there own contact person. I would like the content editor to select which contact form to use when creating content. So if he's setting up "Product A" then he would select a contact form (when entering content) that would send email to the product manager of "Product A." Of course there are more products and more managers.

Can this be done?

Module hooks not working after "Clear all caches"

Hi there,

I did a simple test module containing only two files:

mymodule.info.yml:

name: My custom hooks
description: Some custom hooks
package: Custom

type: module
core: 8.x

and mymodule.module:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x