Hello,
first of all thank you for this great module! While selecting a custom view into the pdf view via the "include view" field, I can't seem to understand how to select a specific display for it. The only display that gets returned is the Master one. Am I missing something or is it not possible yet to select the view display into the field?
Thank you in advance

Files: 

Comments

echataig’s picture

The display is meant to be automatically determined.
But it does not display the unformatted PDF display included.

[EDIT] It seems that arguments of the included are mandatory. This solved the issue for me.

lsolesen’s picture

Status:Active» Fixed

Seems to be fixed. You need to have a PDF display in the included view. You cannot include the master view or any other types of view, but the PDF view.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Peacog’s picture

Category:support» bug
Status:Closed (fixed)» Needs review
StatusFileSize
new1.18 KB

I'm reopening this because I had the same problem. If a display with id pdf_1 is not found, the code falls back to using the default display. In my case I had cloned a view and subsequently deleted the original pdf_1, so my included view now has a display with id pdf_2 and no pdf_1.

I've rolled a patch that looks for the first display with an id of pdf_x and sets that one. If a pdf display is not found it reverts to the default master display as before.

This is not a perfect solution. Ideally it would be possible to choose the display in the settings for the Include View field. There is an open support request for that feature here: Choose a display on the views_field_view module.

killua99’s picture

Priority:Normal» Critical
Status:Needs review» Reviewed & tested by the community

Exist a patch to handle this issues and others. Please see #2032189: Multiple issue fixing in a single patch and review others issues patch.

This is RTBC, and ready to apply.

killua99’s picture

Priority:Critical» Normal
Status:Reviewed & tested by the community» Fixed

Thanks peacog, committed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.