1

On the main page, I have a view that lists 3 items (3 boxes). One of them is linking to the news section. Right now, it's only a plain node and only the teaser is displayed on the front page.

If it's possible, I want to include the top 3 news headlines within the teaser of this node. Basically this will be a view inside of a teaser that is also listed to the front page by a view.

I might succeed with this method but I want to avoid using PHP as a text format. Should I just create a module and insert the view into the teaser by code? Is there a more convenient way?

1 Answer 1

2

You can install and activate the Field views module, and add the field type to your content type. Configure it for your view.

Then edit your content type, and under 'Manage Display' configure the field to be visible in your teaser.

1
  • 1
    Entity Views Attach works, too.
    – mpdonadio
    Commented Mar 31, 2013 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.