Solved: Display ‘label’ and ‘field’ as a table in a node?

Hi! For aesthetic reasons I would like to display ‘label’ and ‘field’ in a table.

Currently we have the options: Above, Inline and Hidden

It would be awesome to be able to output as a Table.

I understand that it can be done by views in the node, just trying to keep it easy 😉

==

Solution:

https://www.drupal.org/project/field_group_table

Small 5 Questions bases form at the end want to show score

I have requirements in which i have to create 5 questions where each questions having own marks 1-2. and one question without marks. at the end i want to show result. all question must be one page and at then bottom once form submit results show with two condition if pass i want to show pass text and if fail i want to show fail text kindly guide me how can i achieve that

i tried Quiz module but that now showing result at the page user must go to quiz page then from results tab he need to go on result tab and see the results also questions not in one page.

Custom fields, repeatable without using paragraphs?

Hi everyone, I was hoping you might have some ideas as we have been unable to find workable solutions.

In our new site migration project, we are attempting to build a content type that includes a compound field group (custom field) that is also repeatable. We are avoiding Paragraphs due to the performance issue related to nested paragraphs and translations.

Unable to remove Recipe Module (Ingredient)

I am unable to remove the ingredient module which comes with Recipe module. There is an annotation saying

The Ingredient field type is used in the following field: node.recipe_ingredient

Filter out View results programatically

I have to filter out some view results programmatically because the filter is more complicated than what the build-in filter can handle. Now in the template file I've created for this view, it must display 3 items regardless of if 3 view result rows exist, if a view result row doesn't exist it displays a placeholder. 

I've been able to filter out the rows by creating a temp array and setting $view->result to that, however, after resetting the array keys to be a normal order (0, 1, 2, ...) the template file is unable to access those... 

Here's what my custom filter does

How do I add contextual data for each field (such as provenance or copyright)?

In the form of a content type called "Item" we would like each field data to be accompanied by contextual data about a) provenance (i.e. similar to academic reference with a note and a URL to a resource) and b) copyright information (i.e. another note and URL). This is like qualifiers for each piece of data. We are thinking of two ways of doing it:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x