The behaviour of the following code has changed recently, breaking my web page:
biblio_db_search("inline","author",$member_data->field_last_name_value);

The change is that now the links (author and title) point to the "inline" version of the links, rather than the regular full-screen version.
I was using the inline command to display the inline references within one page.

I have fixed this by editing the code, to get the behaviour I desire:
see http://www.mina.ubc.ca/lukasc
note that the author and paper links do not have the /viewinline or /inline portions, which I did not want.

I found that the following fixed the problem, though this temporary fix would be better addressed with an option in the admin page that determines the behaviour of the biblio_db_search command (or perhaps by adding another option, like "inline2" rather than "inline":

edit the biblio.module file: on line ~2408

function _biblio_author_links($author,$base='biblio',$inline=false) {
$query = null;
// LC for problem with inline searches
$inline = "";
// $inline = $inline ? "/inline" : "";

as well: in file biblio_style_xxxx.inc:
// LC inline problem:
$output .= l("$node->title", "node/$node->nid");
// $output .= $inline ? l("$node->title", "$base/viewinline/$node->nid") : l("$node->title", "node/$node->nid");

My usage of this function was described in http://drupal.org/project/issues/69435

thank you
Lukas

Comments

lukasc’s picture

sorry, the last link should be: http://drupal.org/node/86086

catdevrandom’s picture

Status: Active » Closed (fixed)