drush composer install breaks .zip download

I downloaded the zip file from drupal and tried to install drush, but It seems to break the zip file.

Unable to install a module

Hello,

Logged in as admin > extend > Install new module> pasted the module link(https://ftp.drupal.org/files/projects/views_slideshow-8.x-4.7.tar.gz) > gives me this error:

"

Access denied

You are not allowed to access this page."

Error displays in this link:

https://example/core/authorize.php?batch=1&id=165&op=start

Printing views field raw value from twig template

I have a view that pulls in fields from a content type. I am trying to print only the raw value of one of the fields. Since there doesn't appear to be any clear documentation on how to do this anywhere, I am forced to ask here. 

I have a views-view-field--field-name.html.twig template file. I have tried multiple things to get the field to render, and aside from using {{ output -}} nothing works. 

Things I have tried. 

{{ field.field_name.value }}

{{ field.field_name.value|raw }}

{{ field.field_name.content }}

{{ field.field_name.content|raw }}

d8 Form API enabling cache

Hi everybody,

how to enable form cache in custom Form API?

in D7 it just needed $form_state['cache']=TRUE; 

I tried all of these:

$cache=TRUE;
$no_cache=FALSE;
$form_state->isCached(TRUE);
$form_state->disableCache(FALSE);

 putting them in public function buildForm(array $form, FormStateInterface $form_state)

but nothing. Form will be regenerated on submit.

composer module installation

Drupal 8.8.6 

Composer issue ( caused by ignorance on my part ) 

composer seems to install modules into modules/contrib   while the gui installer places them in modules.  at least that is how it appears to work based on my results. 

so i installed real_aes via the gui  and then installed it with composer require  (i realized after i had installed it via gui, that it had library dependencies thus the need for composer. so at the time, i thought it overwrote the data in modules/real_aes and did not realize it installed a new version of real_aes in modules/contrib  

Views Tab of Referenced Field

Hi! It’s been a couple of weeks now, can’t get my mind around how to create a view tab on one specific node type.

In this case the view content type is ‘film’ and want to add a tab ‘course’ of content type ‘course’.

There is a field in ‘film’ populated with the referenced node ‘course’ I want to show.

===

On views, relationship ‘content referenced from field_reference’.

In the contextual filter is ID (Content)

(when view is not available) Content ID from url

(when view is available), content, node type ‘course’.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x