Is drupal View useful for this use case

I have a list of nodes that I want to present to the user. Then the user selects 3, and I need to remember this solution in order to present them later in a smaller list (your selection list).

To provide a complete list of nodes, I simply use the views to get all published nodes.

The question is how to save these 3 options so that I can pull them into your pick list? What structure should I use to preserve them? Create a type of content called a list, or use views. Not sure, or is there something more logical for this use case?

+5
source share
2 answers

You definitely want to take a closer look at the flag module . It provides a flexible system for “marking” (or marking) nodes, users and comments, as well as good integration of views.

Using this, you can create a Favorites flag, set it as per user, and your users can use it to designate nodes. Thanks to the integration of views, you can create custom views by filtering these flags in different ways, so you can easily create pages and blocks displaying these favorites.

, , , , API, ( , ;)

, , , / :

+6

php . php id node $_SESSION , .

, , nids.

- ..

0

All Articles