Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Module description

This module enables you to display fields in a region of your choice with a minimum of configuration work. So you can add node related content elsewhere on your page. Fields can be shown up before or after the regular blocks.

You can define the position of a field per node type. You can use existing fields or you can create new fields only with the purpose to display them into another region.

The fields will be sorted as defined on the node type display management page.

Other similiar modules

There exists another module named Field as Block. This module provides nearly the same functionality. It uses blocks to display fields in another region. It should be preferred if you have only a few fields which you want to display in another region.

Fields in Regions does not use blocks. It provides a very easy and fast configuration process to show up many fields of several content types in different regions themable by field name, field type, region and if needed by content type.

Both modules are compatible to each other. So you can use both if you want.

Installation & configuration

  • Just add the fields_in_regions directory into your module folder.
  • Enable the module from the administration area modules page (admin/build/modules)
  • Go to admin/structure/fields_in_regions to make field settings per node type
  • You are also able to make field settings on the content type's field display settings page

Theming

This module provide a new template suggestion, so you are able to theme a custom field output by region. Just create a new template file field--[name]--[region].tpl.php or field--[name]--[content-type]--[region].tpl.php.

Project information

  • Created by silbermann on , updated