Log of /contributions/modules/bio/bio_views.inc
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.1.2.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 19 18:46:38 2008 UTC
(20 months, 1 week ago)
by
dww
Branch:
DRUPAL-5
Changes since
1.1.2.6: +102 -1 lines
Diff to
previous 1.1.2.6
, to
branch point 1.1
#236181 by dww: Exposed many fields from the {users} table to views.
This only works on views of bio nodes themselves. Currently, the
username, email, account status, picture, signature, access time,
creation time, and login time are exposed as fields. No arguments,
filters, or sorts are defined, but they would be easy to add.
Revision
1.1.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 26 00:06:47 2007 UTC
(2 years, 6 months ago)
by
mfredrickson
Branch:
DRUPAL-5
Changes since
1.1: +415 -0 lines
Diff to
previous 1.1
With the views patches in RTBC state, pre-emptively checking in bio's new views support.
See also: #142746
From the recently updated README:
The bio module now boasts integration with the views module. This integration takes two forms:
1. Custom filters: Bio has two useful filters, Node: Type is bio and Bio: Author has bio node
- Node: Type is bio node -- This is useful for shipping premade views that rely on bio, but are not tied to a particular type of node acting as the bio node (e.g. on one site it might be "Biography" on another "profile").
- Bio: Author has bio node -- This is useful for only returning results where the author has created a bio node. That way, if you are exposing bio fields (e.g. the "interests" taxonomy), you can be sure that a bio node exists for every other node returned in the query.
2. Duplicating existing views tables, fields, filters, and sorts: Bio "steals" the views definitions of every other module and makes them its own. For example, the node module exposes the "Node: Title" field and filters. Bio steals these and creates the "Bio: Node: Title". Using these fields you can create a view that returns a list of blog nodes with the author's bio node title. Don't worry, it sounds complicated at first, but you'll get the hang of it in no time.
Revision
1.1
Sat May 26 00:06:47 2007 UTC
(2 years, 6 months ago)
by
mfredrickson
Branch:
MAIN
Branch point for:
DRUPAL-5
FILE REMOVED
file bio_views.inc was initially added on branch DRUPAL-5.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.