For those new to Views, it can be a complex system that appears totally
overwhelming. The good news is that the UI is designed to compartmentalize
everything; this means that for the most part, you can ignore the parts
you're not interested in. Start small and build your way up.
It helps to have something particular in mind that you want to accomplish
when using Views. Here are a couple of ideas and a brief sketch of how
to accomplish what you want.
Create a page to list users by role
- Go to add new view.
- Give it the name 'user_list', tag 'users', type 'User' and click Next.
- On the left, select 'Page' and click Add Display.
- Next to Fields click the + icon to add fields.
- In the Group section select User, then check the following user fields: Created date, Delete link, Edit link, Last access, Name and Picture. Then click Add
- You will be taken through the fields you added. For Delete link change the label to "Operations"; otherwise you can leave the options unchanged. Click Update to go to the next field.
- Under Page settings, click the Path setting. Set the path to 'user_list' (or something else if you prefer.
- Click the Menu setting. Select Normal menu entry and set the title to "User list".
- At this point, you have done enough to create a valid view. If you scroll down, you will see a preview of your view. At any time you can click the Preview button, but whenever you finish one of the mini forms, the preview will update automatically, so you don't need to, generally.
- Next to Fields click the rearrange icon, which is to the right of the + icon to add fields. Drag the Name field to the top and the Delete link (Operations) field to the bottom, and the Edit link field just above it. Then click Update
- Under the Basic settings, click the Style setting, which should default to "Unformatted". Change this to "Table".
- You will be taken to the table settings form. Next to Edit link change the column to Operations. Next to Operations set the Separator to " | " (note the spaces around the | symbol). Check all of the Sortable checkboxes, and set Default sort to Name.
- Click the + icon next to Filters and add the User: Name filter. Select Is not one of and enter Anonymous in the Usernames.
- Click on Use pager and change it to Full.
- Click on the add arguments icon, and add the User: Roles argument. Set the title to "%1", the "Action to take if argument is not present" to "Summary, sorted ascending", and leave the other settings as they are.
- Click Save.
- At the very top, click View "Page" to go to your new view!
Create a block to list recent story nodes
- TODO