Node basket

Component ID

1378676

Component name

Node basket

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1509

Component created

Component changed

Component body

This module is unsupported due to a security issue the maintainer didn’t fix. See SA-CONTRIB-2015-042 - Node basket - Multiple vulnerabilities - Unsupported for details.

If you want to use this module, your options are:

Overview

This little module allows people to pick up nodes in a basket (currently session-stored), so that custom operations can then be performed on these nodes.
The module only provides a flush operation, but a hook allows you to add custom operations to your basket, such as a print operation, using Print module and the provided hook.

Features

  • New links will appear on node pages: pick up/throw out.
  • A new block will be available on the blocks configuration page, displaying the picked up nodes count and linking to the basket page.
  • A menu item to the basket page can be enabled.
  • The basket page will list the picked up nodes and provide links to perform operations to the list.

API

  • Use node_basket_get_content() to list the user's picked up nodes in your own custom module.
  • See node_basket_api.php for how to add operations to your node basket list.

Requirements

There is no module requirements, but you'll need a bit of PHP skills to use the API.

Known problems

  • You may experience some caching problems for anonymous users with some agressive cache systems like Boost.
  • Ajax behavior should be added to avoid page reloads and handle caching problems.
  • Authenticated users' basket could be stored in a more permanent way.

Credits

Developed by Insite
Insite logo

Recommended modules

Print can be used to print all the picked up nodes or generate a PDF.

Similar projects

An alternative to get the same kind of functionality might be to use the Flag and VBO modules, but with Node Basket all is packaged in a one-goal little module.