Posted by wbue on December 23, 2009 at 6:27am
2 followers
Jump to:
| Project: | Inline and link Drupal objects (Linodef) |
| Version: | 6.x-1.0-rc5 |
| Component: | Filter |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Issue Summary
If you want to preview a node, the tag with visibility="teaser" is not displayed in the trimmed version. But if you save the node, the tag is displayed correctly in teaser view.
Comments
#1
Changed title;
in preview mode tags with visibility="teaser" are always omitted in trimmed and full version, tags with visibility="full" are always shown in trimmed and full version. The same applies to images without formatters: the image is displayed with "full"-formatter in the trimmed version and the full version, too, in the preview mode.
#2
("image without formatter" == image which formatter is applied automatically by Linodef depending on buildmode)
The problem is known. The way of determining the current build mode based on args has flaws with views and in preview mode:
$buildmode = (arg(0) == 'node' && is_numeric(arg(1))) ? 'full' : 'teaser';This was also mentioned by hefox but there is no known solution today. Maybe D7 passes information about the buildmode to the filter (I haven't checked D7 in depth yet)?
However this behavior should be documented. =)