By DragoonBoots on
I have been able to create PDFs of full nodes via urls like /drutex/pdf/{nid}, but it there a way I can generate a PDF of the output of a view? The alternative is using a custom module to create a cronjob to put the correct information into a new node, then creating a PDF of that.
Comments
try inserting the
try inserting the insert_view module (or insert the view manually with php).
It doesn't work :(
I get all kinds of weird errors when I use that PHP code. The exact errors are:
Underneath that, nothing happens.
Oops
I made a typo when I changed the lines of code mentioned. However, It outputs a PDF containing the PHP code, not the output of the code. You can see the page here
If it won't load the
If it won't load the insert_views module filter, then try with the contemplate module, or using a php snippet within the node.
If still won't work then open an issue on drutex module for a feature request.
It might have a quick fix just by loading the node after the filters as other modules do.
Meanwhile, a possible workaround is to use the cck viewsfield module, but you can't use arguments.