How to display a message to public visitors

Hello, 

I created a views block. I would like to display the block to authenticated users only. When a public users visit the page, I like to display a message like "please login to see the details". Without logging in, public can not see the block. 

Block settings field has roles section where I selected the role. Now block displays to authenticated users only as expected and public can not see the block as expected. Only thing is missing to display the message to public asking them to login to view it. How can I do it?

Thanks!

Custom entity cache invalidated on some listing pages

I have a custom entity (Activity) with bundles and taxonomy/user reference fields (they are added directly to the entity table as opposed to separate field tables). When I visit admin/modules or admin/people, all the activity entities cache_entity entries are updated. On the people page, this happens once for every entry (e.g. if I have 2 entries then there are 2 inserts into cache_entity for those entries any time I visit that page...or even when I look at the People view). However on the module listing page, there are over 100 inserts into entity_cache for each entity!

HTML Image SRC from ouside drupal root (external images) HOW-TO

Hi there, beginner drupal developer here.

I'm serving some static files in my nodes using some controller like these:

{entity_form_display}

/entity/entity_form_display/{entity_form_display}: GET

what is '{entity_form_display}'?

Drupal8 Commerce 2.x Promotions when we give condition for customer specific user

Hi,

In Drupal8 Commerce 2.x Promotions when we give condition for customer specific user. as of now there are customer role, customer email and customer billing but i need customer user.

Example: when any promotion for specific user based only.

Question about form element checkboxes.

Hi

I have few forms build as below:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x