Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hello,
it's possilbe to hide the field "type of publication" in the node view?
Comments
Comment #1
rjerome CreditAttribution: rjerome commentedThe short answer is no, not directly like other fields.
The longer answer is... if you wanted to override the theme_biblio_tabular($variables) theme function you could, since the Publication type and Title are more or less hard coded into that theme function.
Comment #2
gofriller CreditAttribution: gofriller commentedthank's, override the theme function was the better way.
Comment #3
Abelito CreditAttribution: Abelito commentedHere is how I used the theme override (thought it may help others.)
Note: I'm using the Tabular View
I added this to my template.php (copied from the module biblio/includes/biblio_theme.inc), and modified
- commented out two fields that are build in (see /***)
- added an elseif to skip any fields that I didnt want displayed (see //***)
Comment #4
Liam MorlandIf you need further help, please re-open and provide details.