Bioghist initialize

From DLXS Documentation

Jump to: navigation, search

Back to Changing the Bioghist labels


Excerpt from DemofaFC::_initialize showing the change to the tocheads hash. Note that the label we put in for bioghist-t is now the default when there is no <head> in the bioghist.

    $self->SetSelfKeyInfo( 'tocheads' =>
                           {
                           #  'bioghist-t'      =>  {
                           #                         'collection' => qq{Biography},
                           #                         'recordgrp' => qq{History},
                           #                        },
                           # This provides a default heading if there is no <head> element in the <bioghist>
                           # it replaces the Bentley-specific code above.
                           # Note that we also must change sub GetBioghistTocHead below so it doesn't use or expect the values above.
                            'bioghist-t'      => qq{Biographical/Historical Note },
Personal tools