The American Library Association's Ready to Code initiative grew out of a conviction that helping youth to become comfortable with Computational Thinking is an essential mission of libraries in the digital age. Funded by a grant from Google, the site has taken the ALA's advocacy for tech literacy to the next level.
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?
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!