Monday, 9 March 2015

create a block view

  1. Go to admin page of 'admin/structure/views' and click 'Add new view'.   
  2.  Input a name for view using 'test-view' as an example, untick 'Create a page' and tick 'Create a block'   
  3. Click 'Continue & Edit' and then switch to 'Block' tab  
  4. Click 'Display Name' to change block name displayed in the view tab   
  5.  Modify 'fields', 'filter criteria' and 'sort criteria' as your own requirements
  6. Click 'Block Name' to change the block name displayed in 'admin/structure/blocks' which is the actual block name containing the view  
  7. Click 'Save' button to save the view and the block used to display the view
  8. The block name can be found on the admin page : admin/structure/block.
  9. The block can be configured to be displayed on the website then.

No comments:

Post a Comment