==== Dodavanje polja i tipova dokumenata ====
=== Dodavanje novog Item type-a ===
1. edit /opt/eprints3/archives/ARCHIVE_ID/cfg/lang/en/phrases/local.xml
<code>
...
<!-- Item Type: PRESSCUT -->
<epp:phrase id="eprint_typename_presscut">Presscut</epp:phrase>
<epp:phrase id="eprint_optdetails_type_presscut">Media about RBI</epp:phrase>
<!-- Item Type: PRESSCUT END -->
...
</code>
2. Edit /opt/eprints3/archives/ARCHIVE_ID/cfg/namedsets/eprint
Dodajemo 'presscut' na postojecu listu
3. apache restart
<code>
- /etc/init.d/apache2 restart
</code>
=== Dodavanje novog polja ===
1. edit /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d/eprint_fields.pl
<code>
...
{
'name' => 'article_type',
'type' => 'set',
'options' => [
'original_scientific_paper',
'review_paper',
'short_communication',
'preliminatory_note',
'letter',
'professional_paper',
'letter_to_the_editor',
'review',
'editorial',
'conference_paper',
'meeting_abstract',
'correction',
'news',
'bibliography',
'biography',
'comment',
'essay',
'in_memoriam',
],
'input_style' => 'medium',
},
...
</code>
2. edit /opt/eprints3/archives/ARCHIVE_ID/cfg/lang/en/phrases/local.xml
<code>
...
<!-- ARTICLE TYPE -->
<epp:phrase id="eprint_fieldname_article_type">Article Type</epp:phrase>
<epp:phrase id="eprint_fieldhelp_article_type_article">Type od article</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_original_scientific_paper">Original scientific paper</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_review_paper">Review paper</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_short_communication">Short communication</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_preliminatory_note">Preliminatory note</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_letter">Letter</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_professional_paper">Professional paper</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_letter_to_the_editor">Letter to the editor</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_review">Review</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_editorial">Editorial</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_conference_paper">Conference paper</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_meeting_abstract">Meeting abstract</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_correction">Correction</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_news">News</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_bibliography">Bibliography</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_biography">Biography</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_comment">Comment</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_essay">Essay</epp:phrase>
<epp:phrase id="eprint_fieldopt_article_type_in_memoriam">In memoriam</epp:phrase>
<!-- ARTICLE TYPE END -->
...
</code>
3. /opt/eprints3/archives/ARCHIVE_ID/cfg/workflows/eprint/default.xml
<code>
...
<epc:if test="type = 'article'">
<field ref="article_type"/>
</epc:if>
...
</code>
4. update baze
<code>
- ./bin/epadmin update_database_structure ARCHIVEID
</code>
5. apache restart
<code>
- /etc/init.d/apache2 restart
</code>