Closed (fixed)
Project:
Relation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2011 at 13:15 UTC
Updated:
25 May 2011 at 15:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
Firewolf commentedToday I was actually looking for something similar. I did not want the links on one line but I wanted to get rid of the bullets. So I made a small hack. Attached you will find the patch.
When on the 'manage display' tab, you select 'inline' for the label and 'No bullets' for the format, and if you only have 1 link, then it shows nicely inline with the field label... a little bit in the direction you are looking for...
Perhaps the hack is useful for the module... for me it was just a first try-out with D7 development... and also because I am very interested in the relation module for some new web app ideas... so I might have a look at other rendering formats in the future...
Comment #2
dpiTo customize this, you should try to override
theme_links. Otherwise a custom field formatter will also do the trick:I have developed a custom formatter module at https://github.com/dpi/Relation-English-Formatter .
Can we make the entity information in hook_field_formatter_prepare_view made available to all derivative formatters? It is very simple: change function name
relation_field_formatter_prepare_viewtorelation_field_prepare_view. See attached patch.Comment #3
chx commentedThis was before the reboot. The reboot has a dummy field and has a formatter accordingly.
Comment #4
clemens.tolboom