Drupal 8: How to Export and Import View
You have created some views, and want to port it to your production environment…
May 14, 2019
I have some data related to users. For example: which are the files users have downloaded. This information is private to user. I wanted to show users their history of activities. Views are fantastic module to create a view block for this kind of purpose. I configured it to show data I wanted, and show it on user profile page.
But, the issue now is, everybody can see everybody’s data. The objective was to show user data to current logged-in user only. ANd, the data must belong to him only.
Its not like User-A should be able to see User-B data.
Select relationship of author, which you just created in above steps.
Save the view. Thats it. Note: This post does not include which fields to show, on which page to show.
Enjoy…
You have created some views, and want to port it to your production environment…
I have been using drupal 7 from a long time, and setting up a dev environment…
Pylint is an excellent tool to have good quality code. This post is not about…
hook_cron() suggests to put tasks that executes in shorter time or non-resource…
Introduction In this guide, We will get basic understanding of various options…
Bootstrap has a simple solution to have sticky blocks in your html. I’ve given a…
In this post, we will see some of the frequently used concepts/vocabulary in…
System design interview is pretty common these days, specially if you are having…
Introduction You are given an array of integers with size N, and a number K…
Graph Topological Sorting This is a well known problem in graph world…
Problem Statement Given a Binary tree, print out nodes in level order traversal…
Problem Statement Given an array nums of n integers and an integer target, are…