3. So what are they?
Flag: Provides the ability to “mark”
a node or user in a list
Flag Weights: Extends Flag to allow
marked items to be ordered
DraggableViews: Provides an extension
to Views for administering ordered
lists
3
4. Flags
Flag is a flexible system for
flagging nodes, comments and users
Flags can be “global” or per-user
Integrates with Views, Token, Rules,
Features, Services and Activity
Has an API for extending
functionality even further
4
5. Flag Weights
Flag Weights is a simple extension to
the Flags module
It alters each flagged item to have a
weight
This allows you to create arbitrary
ordered lists of nodes, users and
comments
5
6. Draggable Views
Draggable Views provides a plugin for
Views which produces a sortable list
of items
The sorting system is the same one
used to order Blocks and Terms in the
normal Drupal interface
6
7. Nodequeue?
Anybody heard of Nodequeue? Doesn’t
it do the same thing already?
Yes - but only for nodes. And the
admin interface is “fixed” to use
autocomplete for node titles.
7
8. Configuring
a Flag
Flag comes with a
“bookmark” flag by
default. This
provides a per-
user node flag.
Let’s create a new
one called
sidebar_items.
8
9. Configuring
a Flag
The next form has a whole load of
settings, but fortunately they’re all
pretty simple.
You’ll need a Title, Flag and Unflag
text, enabled Global checkbox,
enabled node types and appropriate
Display options.
9