Staff Picks View - Single Page

    Create a block that rotates a randomly-chosen book from the Staff Picks page.

    CREATE A PAGE

    Navigate to: Content > Add Content > Page

    1. Fill in ‘Name’ - Example: ‘Staff Picks’
    2. Enter ISBNs for staff picks (we recommend starting with at least 2)
    3. Save

    IMPORTANT NOTES BEFORE STARTING YOUR VIEW SETUP:

    1. Retrieve the NID (node ID) of the page (Staff Picks), you will need it for step 23 of creating your view. This can be found in the URL for editing the node so click on Content > Find the ‘Staff Picks’ page and click edit. Look at the URL and make note of the NID. Example: node/111/edit  
    2. We highly recommend you save your 'view' after every step, as you create it. Especially when you see this message come up:  “* All changes are stored temporarily. Click Save to make your changes permanent. Click Cancel to discard the view.”
    3. When working in settings, always change the ‘For’ option from ‘All Displays’ to ‘This block (override)’ so that the changes you make only alter the block (or page) you are working on.

    CREATE THE VIEW

    Navigate to: Structure > Views > Add New Views

    1. Fill in Description - Example: Staff Picks Block
    2. Fill in ‘View Name” - Example: staff_picks_block
    3. Uncheck ‘Create A Page’
    4. Select ‘Create A Block’
    5. Enter Block Title should automatically fill in with your view name, if it does not, repeat it.
    6. Display format - leave it as ‘unformatted list’ of ‘titles (linked)’
    7. Set ‘Items per page’ to 1
    8. Select Continue and Edit
    9. Click on ‘Block’ under ‘Display Name”
    10. Enter name and description Example: (Staff Picks Block, Block for providing rotating staff picks) - click Apply
    11. Confirm ‘Format’ is set to ‘Unformatted list’ and its settings have ‘Add views rows classes and Add striping (odd/even), first/last row classes’ selected.
    12. Click Apply (this display)
    13. Under Fields - Click Add
    14. Find ‘Content: Books’ in list - Select - Apply (this display)
    15. Configure Books - uncheck ‘Create a label’
    16. Select the appropriate ‘Formatter’ (for this example  we are using ‘Basic - Without Buy Button'
    17. Multiple Field Settings - Uncheck Display all values in the same row
    18. Apply (this display)
    19. Under fields click on ‘Content: Title’ - Remove
    20. Under ‘Filter Criteria’ Add - ‘Content: Type’ - Apply (this display)
    21. Select ‘Page’ under ‘Content Type’ - Apply (this display)
    22. Under ‘Filter Criteria’ Add - ‘Content: nid’
    23. Enter NID that you previously made note of from the Staff Picks page into the ‘Value’ field - Apply (this display), Example: 111
    24. Under Sort Criteria - Add - ‘Global - Random’ - Apply - Apply (this display)
    25. Under Sort Criteria - Click on - Content Post Date - Remove
    26. Save View

    The Staff Picks Block view is now ready and will be available in the list of blocks. You can activate this block from Structure > Blocks and place it in a suitable region.