Hi !

How could I include the biblio exports links (BibTex, RIS, Endnote, etc.) and Filter links (Author, Year, Type, etc.) in the header of a views? Would their be some sort of snippet like this:

<?php
include_once  drupal_get_path('module','biblio') . '/biblio.pages.inc';
print $node->biblio_links ?;
print $node->biblio_filters ?;
?>

Thank you!

Denis B

CommentFileSizeAuthor
#4 949806-biblio-view-export.patch2.18 KBerikwebb

Comments

rjerome’s picture

You could but I'm pretty sure they wouldn't work with views given they depend the query having been built by biblio and saved in a session variable.

erikwebb’s picture

I'm thinking of implementing this using VBO. I'll report back in the next few days if I'm successful. Not ideal, but a legitimate workaround.

erikwebb’s picture

Looks like I won't get to this for now, unfortunately. VBO is likely the way to go with hook_node_operations().

erikwebb’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new2.18 KB

First off, I apologize for switching branches. The changes should be trivial to port to 6.x-2.x.

I implemented hook_node_operations() and a callback wrapper around _biblio_export(). Very easy implementation.

toki’s picture

Issue summary: View changes

Hi, I have exactly the same need, ie providing a mass export action through VBO module in a home-made search engine within bilbio entries. I am only a site builder and I don't manage to reach my goal here. Can someone tell me if a code has been written to add an action in VBO, so I can export biblio search results after ticking boxes on a Views table? Thanks in advance. (I am using Drupal 7.31, Views 7.x-3.8, Views Bulk Operations 7.x-3.2 and Biblio 7.x-1.0-rc7).

vegardjo’s picture

FYI: My colleague have made a sandbox project for this: https://www.drupal.org/sandbox/szeidler/2394975 - it adds a view handler so you can place these links in the header / footer of any view. Can be seen live here: http://www.simula.no/publications

liam morland’s picture

Status: Needs review » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.