Problem/Syndrom

The braces around {Protected} words still remains when "Retain bibtex's {Protected} capitalization ..." is turned on. This happen when I use views to display bibtex entries. However, protection braces in the /biblio page is successfully removed.

what I have tried

  1. I searched for past questions and found similar post. I looked into the file "biblio_hander_citation.inc" in sites/all/modules/biblio/views and realize the important line "$item->title = biblio_remove_brace($item->title);" is there already. The problem is solved for Biblio 1.6/1.5 and view 2.14 but not in the combination of what I am using(below).
  2. I looked into the code and realize none of the function in biblio_handler_citation is called. But in its super class(views_handler_field) , function render($values) ran for multiple time. I don't know where exactly cause the problem that can't run the sub class.
  3. I tried to hack into render($values) in views_handler_field to remove brace from $values. However, I am not sure if this is a good practise. Also I can't actually call the function biblio_remove_brace on any object without adding a lot of lines.

Versions and modules:

  • name = Biblio, version = "6.x-2.0-rc2", core = "6.x"
  • name = Views, version = "6.x-3.0", core = "6.x"
  • name = "Biblio Advanced Import", version = "6.x-1.0-rc1", core = "6.x"
  • core Drupal version: Drupal - 6.31
  • all the related flags in /admin/build/modules (except for core-optional ) is enabled.

Thank you for your attention!

Jane

Comments

jaypan’s picture

https://drupal.org/node/644164

You can move the thread by editing the original post and choosing 'Post Installation' as the forum.

Thank you.

Contact me to contract me for D7 -> D10/11 migrations.