Hi, is there a straightforward way to highlight (either in bold or different color), local Authors in the Bibliography? We're using Biblio to manage the catalog of Publications for our Department, however would like to emphasize our academics vs others who have collaborated on papers. We've tried linking local Authors to their Drupal IDs, but not seeing how to distinguish linked Authors from others..

Rgds

Comments

rjerome’s picture

That's an interesting idea, and if by "local authors" you mean authors with links to DrupalIDs, then it would be fairly easy for me to add a css tag to these authors with could then be styled any way you like.

Ron

mauricem’s picture

Yep.. that's the idea.. When we publish the institutional Bibliography, it's useful to highlight the resident Authors.. That would be a nice enhancement for us..

rjerome’s picture

OK, shouldn't be a problem. I'll report back on this thread when it's done.

Ron.

mauricem’s picture

I appreciate that this was not submitted as a "high priority" feature request, but any thoughts as yet on how we might accomplish this enhancement?

rjerome’s picture

It's done now (http://drupal.org/cvs?commit=478608), the next 6.x-1.x-dev build and subsequent releases will have a "biblio-local-author" class selector on the "a" element of the local authors...

<a class="biblio-local-author" href="...">foo</a>

Ron.

mauricem’s picture

Great... Thank you again for the responsiveness..
Just to make sure I understand the process for implementing this functionality.. Once the code changes have been applied to: /modules/biblio/biblio_theme.inc. Where should the relevant css definitions be added for the "biblio-local-author"

MM

rjerome’s picture

You can add the css to the biblio.css file (so long as it follows the ".biblio-authors a" definition) like this...

a.biblio-local-author {
  font-weight: bold;
}
mauricem’s picture

Perfect.. Works just as required..
Thx again..

rjerome’s picture

Status: Active » Fixed

Great! We'll call this fixed then...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.