Révision 018e218c
Ajouté par Assos Assos il y a plus de 10 ans
htmltest/sites/all/modules/flag/README.txt | ||
---|---|---|
7 | 7 |
to give all the control to the administrator. Using this module, the |
8 | 8 |
site administrator can provide an arbitrary number of 'flags'. |
9 | 9 |
|
10 |
A flag is really just a boolean toggle that is set on a node, comment,
|
|
11 |
or user. Flags may be per-user, meaning that each user can flag an item |
|
10 |
A flag is really just a boolean toggle that is set on an entity such as a node,
|
|
11 |
comment, or user. Flags may be per-user, meaning that each user can flag an item
|
|
12 | 12 |
individually, or global, meaning that the item is either flagged or it |
13 | 13 |
is not flagged, and any user who changes that changes it for everyone. |
14 | 14 |
|
15 |
In this way, additional flags (similar to 'published' and 'sticky') can
|
|
16 |
be put on nodes, or other items, and dealt with by the system however
|
|
15 |
In this way, additional flags (similar to 'published' and 'sticky') can |
|
16 |
be put on nodes, or other items, and dealt with by the system however |
|
17 | 17 |
the administration likes. |
18 | 18 |
|
19 | 19 |
Each flag allows the administrator to choose the 'flag this' text, and |
... | ... | |
25 | 25 |
flag provides data to the Views module, and provides a default |
26 | 26 |
view to list 'My bookmarks'. These default views are somewhat crude, |
27 | 27 |
but are easily tailored to whatever the system administrator would like |
28 |
it to do.
|
|
28 |
it to do. |
|
29 | 29 |
|
30 |
Each flag also provides an 'argument' to the Views module that can be
|
|
31 |
used to allow a user to view other people's flagged content. This isn't
|
|
32 |
turned on by default anywhere, though, and the administrator will need
|
|
30 |
Each flag also provides an 'argument' to the Views module that can be |
|
31 |
used to allow a user to view other people's flagged content. This isn't |
|
32 |
turned on by default anywhere, though, and the administrator will need |
|
33 | 33 |
to construct a view in order to take advantage of it. |
34 | 34 |
|
35 |
The module will come installed with a simple flag called "bookmarks" and
|
|
36 |
a simple view for 'My bookmarks'. This is a default view provided by the
|
|
37 |
Flag module, but can be customized to fit the needs of your site. To
|
|
38 |
customize this view, go to admin/structure/views and find the
|
|
39 |
'flags_bookmarks' view. Click the 'Add' action to customize the view.
|
|
40 |
Once saved, the new version of the view will be used rather than the one
|
|
35 |
The Flag Bookmark module provides a simple flag called "bookmarks" and
|
|
36 |
a simple view for 'My bookmarks'. This is a default view provided by the |
|
37 |
Flag module, but can be customized to fit the needs of your site. To |
|
38 |
customize this view, go to admin/structure/views and find the |
|
39 |
'flags_bookmarks' view. Click the 'Add' action to customize the view. |
|
40 |
Once saved, the new version of the view will be used rather than the one |
|
41 | 41 |
provided by Flag. |
42 | 42 |
|
43 | 43 |
Besides editing the default view that comes with the module, Flag |
Formats disponibles : Unified diff
Weekly update of contrib modules