I've got a view that renders all nodes of a certain node type in the current user's language (using i18n). When I use this view through views field view, the view is rendered once for each node it contains.

That doesn't seem like expected behaviour. Any ideas what's going wrong? Cheers.

CommentFileSizeAuthor
#3 view.png88.42 KBsegana
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Title: Nodes & view render multiple times » View renders multiple times
Anonymous’s picture

Issue summary: View changes

Update

damiankloip’s picture

Status: Active » Postponed (maintainer needs more info)

This seems like a configuration error if anything, how are your views set up? Where is the parent and child? If you have exports, t hat is useful.

segana’s picture

FileSize
88.42 KB

I'm experiencing the exact same issue.

I've stripped back my view to it's basic form to confirm the issue and it is as follows:

I have a Child view which has 2 fields (one excluded from display) and a couple of filters show it shows 3 items.

I then have the Parent View, which has a single field (Global:View) which is set to display the one Child View.

That is the setup of the page, nothing else, yet the child view (label + 3 items) is repeated over and over again (I stopped counting after the 26th time as I got bored lol).

So what configuration am I missing/getting wrong?

I attach a screenshot.

Any help is greatly appreciated :)

**UPDATE**

I really am quite an idiot lol

The reason it is repeating is because the filter is set to 'Published' therefore I assume that the view will display the 'View Field' for every piece of content in the system that is published regardless of whether or not it has any relevance to the view field in question.

My original assumption for how this module would work (and most likely the others who have reported this issue) would be almost the same as if you add a view into the parent views header/footer...this is not the case.

abdul.muiz.meer’s picture

solved.... i had that problem too, took some time to find out why.
1) Go to "pager" setting in view.
2) Change it to "Display specified number of items".
3) and add 1 on next screen to show all values just once.

abdul.muiz.meer’s picture

Issue summary: View changes

Update