[documentation] [Documentation task] views tutorial: make a new pages block

drupalec drupal-docs at drupal.org
Thu Apr 13 15:33:20 UTC 2006


Issue status update for 
http://drupal.org/node/58595
Post a follow up: 
http://drupal.org/project/comments/add/58595

 Project:      Documentation
 Version:      <none>
 Component:    User Guide
 Category:     tasks
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  drupalec
 Updated by:   drupalec
 Status:       active

Tutorial #1: Let's make a new pages block
Now let's make a block for new pages.
To add views, you modify one of the default views.
These instructions are for 4.7
 administer -- views
 go down to default views
 look at the row called tracker, click "add"
 click on "Provide Page" to turn it off
 click on block to expand the menu
 click "Provide Block" to put an x in the box
 Leave it on "List View"
 Put "New Pages" in for title
 Put in "10" for "Nodes per block"
 Click on "More" to put an x in the block
Now we will pick the fields.
 The default view for tracker comes with 5 fields.
 We only want the title field, so we'll put the other 4 fields in the
trashcan.
 Click the trashcan icon on the row for node type "Type"
 Do the same for "Author," "Replies," and "Last Post"
 Now for the one field remaining called "Title," erase the word "Title"
from the box called "Label" so the word does not appear 10 times in your
block.
 Click Save.
Go to administer -- blocks.
 Look under the section for disabled blocks.
 Find one called "New Pages"
 Click the box to enable it
 Give it a weight of -10 by clicking on the down arrow next to the
number
 (The -10 means it will be at the very top)
 Leave it on "left sidebar"
 Click on "Save Blocks"
Congratulations. You should now have a new block called "New Pages" on
the left side of your website.




drupalec



More information about the documentation mailing list