Putting dynamic view results in text in same line as body on an article

Created on 21 October 2023, about 1 year ago

I use this module to create dynamic, best, highest, least, most, views where a node title is used within a body article.

The race with the most elevation is the 100km 13 Valley Trail Race.

What is in bold is the actual view results and the rest is just written in to an article body.

This helps me create dynamic and up to date articles about certain data and queries which will always be up to date.

Anyway, i just want to share how i get these inline with the rest of the text.

Add a css class in the view "single-inline" is what I use.

Then add the css.

.single-inline { display: inline-block; }

And your view will output in to your body article as though you had written it.

🌱 Plan
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom effortDee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024