[documentation] [Documentation task] views tutorial: make a new
pages block
cel4145
drupal-docs at drupal.org
Thu Apr 13 18:32:11 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: cel4145
Status: active
Was there some reason you didn't want to submit this page directly to
the handbook? If so, it helps everyone else if you explain why the
documentation was submitted here (so no one has to ask and then you
have to respond anyway). Know that drupal.org site members can submit
pages directly. The easy way to do it is to visit the page that you
would choose as the parent and then select the "Add child page" option.
cel4145
Previous comments:
------------------------------------------------------------------------
Thu, 13 Apr 2006 15:33:20 +0000 : drupalec
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.
More information about the documentation
mailing list