![]() Step 3: Once you have saved the view page data, page will be redirected to view Display configuration section having page and block UI. i’m creating view page and view block both in in this example. Once you are done with filling up these fields value. This section has option to update Block title, Block Display settings, items per block with pagination option. Once you check on “ Create a page”, this will open up page configuration section which, includes page title, page path, Display format, item to be displayed, with three additional option.Ĭhecking the block setting Will allow you to create a “ view block”. The Addition of new view also carries PAGE SETTINGS & BLOCK SETTINGS. Later on you will get more and more sorting criteria e.g.: by author name. Sorted by - How do you wants to sort? Sorting by Newest first, Oldest first, or by title these are the initial level sorting options. Of type holds bundle type either Article, Basic page, custom content type or All. Where, Show means what would you like to Display, Comment, Log entries, Files, Content, Content revision, Taxonomy Terms, Users, Link Count, Custom block revision or Custom block. ![]() Section 2 has VIEW SETTING which has option to show, type, and sorted by. The page has View Basic information fieldset that contain View name and Description. Step 2: Clicking on +Add new view redirects to “ Add new view” page. Step 1: Go to Manage > Structure > Views > click on +Add new view We'll create a view page to showcase news on homepage, and a " Recent News" block. In this article, we'll continue building our new site by adding up few more custom views. Using the module, you can display content in a block, table or formatted structure. That's the simple explanation, but it doesn't give the module the credit it deserves.įor instance, you can create a page ( /latest-news) which displays all the latest content by bundle type and sorted by posted date. Now you don’t have to search for the latest version of views separately.įor the 1st timer, Views allows you to generate dynamic query using easy to use UI. The most installed module in Drupal “ Views” is now available as the core modules of Drupal 8.
0 Comments
Leave a Reply. |