In the Search field enter sf_person to narrow your list and select the following list of entities. Field » Settings: use the defaults with no changes.Remember: until you scroll down and click on the Save button, your changes will not be saved. So, directly below the DISPLAY title and Page Display list is: Display Name: Page. It's a good rule of thumb to know that anywhere in your View that is shown in blue or presented as a link, is a clickable option. Make your life easier and rename your Page Displays with a meaningful title. If you keep adding new Page displays, it's going to repeat that name and it'll be hard to tell one from another unless you click on it to see what that particular Page Display is meant to show. If you look under the Display title you'll see: This means each page in your View will need its own Page Display. Let's start with supposing that you will eventually have several different groups of people you want to display, perhaps on separate pages. This project will overlap some of those steps, but be specific to this scenario. I would strongly recommend reading the first blog Take in the View: Creating a "Live Client List" I wrote as it talks in detail about classes, PatternLab, and replacement patterns. Once you've created your initial View structure, you can move on to configuring its settings. You can set the Page Title and Path now if you want, or leave it blank.Content of type Person tagged with sorted by.Description - this will be helpful if anyone else is working on your site at this level and needs a quick glance aid in knowing what this View is meant to do.Navigate to Manage » Structure » Views.If you're looking to create custom Views, you're way beyond how to create a Person page, so we'll skip right past that step and move straight on to the View. Here's what we're aiming to create: Here is a screenshot of the View we're trying to create-a simple list of people in two columns.Ī single View with one or more Page Displays A link to SiteFarm PatternLab code/style guide.A method in each Page Display for filtering by tag term.Custom output using replacement patterns or tokens.A single View with one or more Page Displays, each one representing a different type of output.Person pages, already filled with the information we'll need, including tags.Tags will likely be used because we can add an unlimited number in case a person belongs to multiple groups. Have the View filter the output by a Tag or Person Category so multiple outputs can be created to show only the members of a specific group.Present the information in two columns on the page.Exclude a link to a full Person page we don't need it for a simple contact list.This project involves finding a way to display a simple list of people in a minified way. These write-ups are meant to show you what's possible so we can set free your imaginations to discover new methods for presenting your content to the world. If this topic is entirely new to you, take some time to learn about Views first. ![]() This isn't a step-by-step how-to scenarios vary far too much for things to be identical and a certain amount of basic Views knowledge is required for this to make sense.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |