Currently there are two modules included with this module "Views Append" and "Views view field", neither of which are dependencies of Views PDF. What is the purpose of these two modules? Upon inspection they seem to be outdated copies with only minor alterations of the "Views field view" module.

If I'm right about my assumptions, why not use the Views field view module instead and remove these sub-modules from this module?

Files: 
CommentFileSizeAuthor
#5 vfv.png11.37 KBownage
#5 vfv_normal.png161.21 KBownage
#5 vfv_wow.png86.84 KBownage

Comments

killua99’s picture

Right now I am evaluating the module, in the port from 6 maybe this module was poorly ported, this kind of feedback is appreciate.

I'm not a full maintainer, but can do stuff with the code. This Monday we can discuss this better

ownage’s picture

killua99, did you figure out why these modules are installing with Views PDF?

I'm needing to find out if Views Field View works with Views PDF. If anyone has done this, please let me know.

candelas’s picture

@ownage i havent tried, but i have tried the module to include views that comes with views_pdf and it works.

killua99’s picture

So I have to evaluate the porpose of this module, in a few days I'll report some feedback about this kind of submodules.

ownage’s picture

StatusFileSize
new86.84 KB
new161.21 KB
new11.37 KB

I've been really trying to figure out what's going on with this module to get the "Views Field View" (VFV) functionality. After examination of both modules, it looks as though I will not be able to use either one with Views PDF.

The current release of VFV always renders a white page, but the included module in Views PDF (Views Field) seems to actually work, but not correctly.

For example, (before trying out these two VFV modules), I created this unformatted layout. It uses PHP to position things; I modified the font sizes, colors, fonts, while rewriting many fields:

I then made a clone of this view so I could include it with this Views Field module.

My goal was to use "Views Field View" as merlinofchaos instructed I do for my use case. Read here: https://drupal.org/node/2052149#comment-7693047

Upon loading this view in a field, it won't show up-- the style for this view field has to first be formatted in the parent view. This means I have to set what the views is relative to, the width, the height, & the font size. This ruins everything because after doing so, all of the PHP is stripped and the individual font sizes are changed to the set style:

I'm on wit's end with this issue. Setting relationships and grouping by them isn't working either. The only solution was to use Views Field View and that seems to not currently be possible. For the first time ever, it looks like I will have to tell my client that they cannot have a certain grouping functionality.

darkodev’s picture

Not that this helps your main issue, but turning off the "contextual links" in your embedded view will remove the "edit" link.

rclemings’s picture

Making things still more confusing, there is a completely separate module called Views Field:

https://drupal.org/project/views_field

I just installed it, and couldn't figure out why nothing happened when I enabled it. Turned out I was enabling the Views PDF version of Views Field (views_view_field).

One or the other should get a name change, don't you think?

killes@www.drop.org’s picture

IMO there is no good reason to distribute hacked versions of other modules. If your module doesn't work with the current versions of these modules, you should work with the maintainers of these modules to resolve these issues.

killes@www.drop.org’s picture

Category:Support request» Bug report
Priority:Normal» Major
Issue summary:View changes

Changing to "bug, Major", see previous comment.

killua99’s picture

This module need to be there for legacy reason. Next version will be removed or better adaptation.

killua99’s picture

Category:Bug report» Support request
Priority:Major» Normal
vegansupreme’s picture

Assigned:Unassigned» vegansupreme

I'm working on a patch for the real Views Field View that would provide Views PDF support. Then the hacked copy can be removed from Views PDF. I'm hoping this will help with this issue:
#2072889: Include View Duplicates Content

killua99’s picture

Status:Active» Needs work

So, We can remove this old legacy module?

vegansupreme’s picture

TBarina wrote a patch for the official module Views Field View to make it compatible with Views PDF, but he never submitted it to the VFV issue queue. I hadn't heard from him in a while and didn't want to take credit for his patch, but I'll try to get in touch with him again to see if he'll submit the patch. As for append view, I can't find another equivalent module. We might be stuck with that one. Append view (it should really be called prepend view) adds an external .pdf file into views PDF. You could use it if you have a static PDF cover page for a report or something.

killua99’s picture

oh cool I'll look at it later