How to load a module when user is NOT logged in?

Hi, 

I am using Header and Footer Strips https://www.drupal.org/project/header_and_footer_scripts module and it loads javascript when I am logged in and working. I want the module be loaded when I am not logged-in

I could not find any other module to do this. So your suggestion is appreciated.  

Thanks

Can't translate content from my language to English

I have a live site running with default language English and I have created all my content in Czech, but when i try to add the English translation it always moves me back to czech. I have some english pages already created when site wasn't live, but when i try to edit it, it moves me to czech again. The english content isn't even displayed when i switch the language of the site to english. It's my first time creating website with drupal so I don't have much experience. Can someone please help me?

How to use symfony response with template to send a mostly blank page

I want to serve a page that will be completely blank. (No logo no blocks ... nothing).

I want to use a template to prepare this page so that I will not have to hard code the html in the Controller class that will serve the Response.

My idea is that this template will just have empty html elements with ids. These will be stuffed and rendered on the client side by javascript.

So the question is how can I use template for sending Symfony Response without using any of the drupal rendering in between.

Please help.

Taxonomy custom field on page or views block

Hi all,

I created a custom field description on taxonomy term and should view it, based on the taxonomy term in a page--taxonomy--term-- TERMID.html.twig, how can I access that field and view it either on the page or in a block created by views?

Japan Airlines

Building a new knowledge system with site-led agile development

Japan Airlines has launched the POLARIS project to solve the problems of the old knowledge system. This is an effort to build a new knowledge system with high searchability that does not rely on the experience or intuition of the operator. "POLARIS" signifies the North Star, which shows the correct path to lost travelers.

Sectors: 
Travel and Hospitality

Drupal View CONTEXTUAL FILTERS using node ID is not working

Hi,

I've created a view page for a contents "product"  and displays the list.  But I wan to display only ONE node from URL by node id like ?node=555

This view has a path /course1_lecture and I added the contextual filter  by selected "Provide default value" under "WHEN THE FILTER VALUE IS NOT IN THE URL" and selected "Content ID from URL" and it is not showing anything when I try /course1_lecture?nid=555 or /course1_lecture/?nid=555  or /course1_lecture/555 it doesn't show anything. 

How can do this? please help. 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x