EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00770


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: How to add thesis types?


yeh.....

It works...

But, accidently i put wrong text / word which result  ["eprint_fieldopt_thesis_type_bachelor" not defined] appear at the option...

I checked kat zz_webcfg.xml, delete already...

But it still appear..

Any way to make it disapear ?



From:        Sebastien Francois <sf2@ecs.soton.ac.uk>
To:        eprints-tech@ecs.soton.ac.uk
Date:        20/06/2012 06:09 PM
Subject:        [EP-tech] Re: How to add thesis types?
Sent by:        eprints-tech-bounces@ecs.soton.ac.uk




Hi,

Edit archives/<id>/cfg/cfg.d/eprint_fields.pl, look for:


{
       name => 'thesis_type',
       type => 'set',
       options => [qw(
               masters
               phd
               engd
               other
       )],
       input_style => 'medium',
},


And add your new types to the "options" array, restart Apache, add your phrases (though it looks as if you've done this already) and you should be done.

Seb.


On 20/06/12 02:41,
mohdizwan8733@salam.uitm.edu.my wrote:
Dear all...

I already add


eprint_fieldopt_thesis_type_degree
: Bachelor Degree
eprint_fieldopt_thesis_type_diploma
: Diploma

in the Admin phrase editor...

is there any other place i should add as well...?



*** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/