Changing Field Display Properties


Some themes can do this for you out of the box. See AdaptiveTheme as an example -- you can float an image field inline the body field.

I believe with DisplaySuite you can also show fields inline.

Tags: Drupal 7 / Entities

Similar questions

If linking entities with a multi-value entity reference field, what about properties of the association?
In this thread I need a link from base table to join table it was suggested that it is better in Drupal to join two entities with a multi-value entity reference field than to use a relational style join table to join them (assuming many to many relationship). But, what about the case where there is a property of the association. E.g., stories win a...
Creating field with multiple properties
I am creating a Field plugin, where I have requirement as below Field name : Question Properties: Question Text : String Question Type : integer (0,1,2) Question Options : Array of Strings I defined schema like this. I am not sure if I am doing it right for Question Option And for property definition I have following Please let me know how can I do...
How can I add custom client-side validation to a Webform field using advanced custom properties?
The setup: I have a Drupal 8 form created manually, and I would like to recreate it using Webform module. So far, I have managed to recreate everything (required fields and submission handler), but there is a last bit missing: the client-side validation that triggers on change. The initial form have fields defined as follows: Calling validation fun...
MachineName field element: How do I use the source and exists properties?
In my custom form, I am trying to create webform entities. Since webforms need unique machine names, I'm using the MachineName (machine_name) form element. The D8 MachineName element documentation suggests that we can get the field to auto-populate based on the text input of another field, AND there can be an AJAX callback to call a function that c...
500 HTTP error on "Manage Display" tab after changing layout with Display Suite! What should I do?
I changed the layout to "One column" with Display Suite on a given content type's "Manage display" tab, which has many (~30) fields. I'm also using Field group module with multiple groups. After saving, DS has set some group's parent elements to "Disabled". OK, I changed it, I dragged these to the enabled part, and after saving, I got a 500 HTTP-co...
Attach different CSS styles on a node basing on publishing date or other PHP properties
I want to attach a different CSS style to a node, basing on the node publishing date or some PHP properties. What would be the best way to do this?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.