Fixed Field is a module that displays the same content for all entities the field is attached to, which can be set in the field's settings. The module supports text formats (i.e. filtering) and token support.
This module provides similar functionality to other modules, such as Insert View, Insert Block, Media, EVA: Entity Views Attachment and plain old blocks. However while some of these modules provide methods of attachment of content to individual nodes and blocks provide a very flexible method to attatch content to pages, they have several drawbacks.
- Insert View, Insert Block and Media attached content cannot be reused on several entities. The content has to be attached to each entity individually.
- While blocks can be displayed or hidden on different pages, they are limited to theme-defined areas.
Fixed Field aims to bridge the gap between the limitations of other methods of attaching content and the benefits of Drupal's fieldable entities.
Some use cases:
- embedding ads in nodes
- put some fixed content on a node like "This week's special is widgets!" on all your products and be able to change them all at once via an admin ui
- Along with Insert View provide a similar functionality as EVA: Entity Views Attachment, however with more flexibility. For example the position of the view within the node can be set using the fields ui., and views can be wrapped in html or php. For example, tables of views can be created.
- "Blocks" within nodes
- Displaying debug information attached to entities. This works especially well with the Token API. This way debugging information can also easily be hidden, simply by hiding the field.
Module sandbox page: http://drupal.org/node/1312726
Git repository:
git clone --branch master marufaberlin@git.drupal.org:sandbox/marufaberlin/1312726.git fixed_field
Module is for Drupal 7
Comments
Comment #1
klausiComment #2
plonk CreditAttribution: plonk commentedComment #3
klausigit tag 7.x-1.x still present.
Comment #4
plonk CreditAttribution: plonk commentedoh ok. needed to explicitely push the tags.
Comment #5
klausiCool, RTBC for me.
Comment #6
plonk CreditAttribution: plonk commentedThanks :)
Comment #7
gregglesThanks for your contribution, marufaberlin! Welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
As you continue to work on your module, keep in minde: Commit messages - providing history and credit and Release naming conventions.