Bonjour,

I'm using this snippet on my site:

    include_once drupal_get_path('module', 'biblio') .'/biblio.pages.inc';
    print biblio_db_search('inline', 'type', '102');

I was wondering if it is possible to had some code in this snippet to set the display style to APA, even if another style is set in biblio settings.

Thank you,

Denis

Comments

p0732658’s picture

Title: Page display and citation style » Page display and citation style - With Views 2

What I'm trying to achieve is to give users the possibility to display biblio list in there preferred style (APA, MLA, Vancouver, etc.). I would like to place links or tabs at the top of the page allowing to switch between style. My first taught was to do this we the help of snippets. I'm now thinking that the Views module would probably be more appropriate.

How could I achieve this by duplicating the default biblio_view? Would I have to create new page for each display (Year, type, Author ID, etc.) or would it be possible to do this with the help of an Views attachment?

Thank you!

Denis

liam morland’s picture

Issue summary: View changes
Status: Active » 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.