This module creates blocks for nodes (selected by user or always per content type) and styles them by using views. This means that you can select, which fields and how a node should be shown in a give block for any content type with node spotbox enabled.

Node spotbox supports node translation and will automatically detect the correct translation based the current language. This means that only one block for each spotbox will be available on the block page and it's content will automatically be select from the translated node.

Installation

When the module have been enabled, it can be configure on the content type configuration page (/admin/content/types) for each content type.

Build the view

The view(s) to be used with node spotbox need to take one argument, namely the node id (nid) of the node that represents a given spotbox. I recommended using the "block" display type in the view as it do not have a path.

Context (draggable blocks)

It is possible to get drag and drop support for spotboxes (in fact for all blocks) by installing the Admin module in combination with Context module. If one creates a context for e.g. all pages, one can drag and drop spot-boxes into any regions available through the Admin modules menu.

This can also be achieved in D7 by using the context inline editor.

The idea behind

The code in this module is based on Node as block and Node block it contains idea's from both these modules extended with views support.

Project information

Releases