Changeset 29403

Show
Ignore:
Timestamp:
23.10.2014 14:49:59 (5 years ago)
Author:
kjdon
Message:

added custommetadataconf macro - can define this to override GLI's depositormetadata array. Do this if you want multiple fields, or a different order to what GLI gives you.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/deposit.dm

    r29386 r29403  
    1818 
    1919# metadata fields that will be displayed in the step1 page,  
    20 # this is determined by the depositormetadata macro defined in the collection's collect.cfg 
     20# this is determined by the depositormetadata array defined in the collection's collect.cfg 
    2121_metadataconf_ {var DepositorMDFields = new Array();} 
     22# If you are using GLI, and want to modify the depositormetadata, then define  
     23# the custommetadataconf macrco in exta.dm or collectionmacro in collect.cfg 
     24 
     25_custommetadataconf_ {} 
    2226 
    2327# store any existing metadata values 
     
    162166_step1scriptextra_ { 
    163167 
    164 _metadataconf_ 
     168_If_("_custommetadataconf_" ne "",_custommetadataconf_,_metadataconf_) 
    165169_cachedmetadatavalues_ 
    166170