Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] EP3: eprint_fields.xml

From: Christian Authried <christian.authried AT univie.ac.at>
Date: Fri, 13 Apr 2007 07:59:55 +0200


Threading: [EP-tech] EP3: eprint_fields.xml from christian.authried AT univie.ac.at
      • This Message

*** EPrints technical list - http://software.eprints.org/tech.php/
*** EPrints community wiki - http://wiki.eprints.org/

*** EPrints technical list - http://software.eprints.org/tech.php/
*** EPrints community wiki - http://wiki.eprints.org/

Hi,
that's it: "XML files are loaded in order".
I have some backup files in the directory - e.g. eprint_fields.xml-ORIG 
- which sorts behind the new eprint_fields.xml. After changing the name 
to _eprint_fields.xml-ORIG everything works fine.
Thanks,
Christian.

Christopher Gutteridge schrieb:
> *** EPrints technical list - http://software.eprints.org/tech.php/
> *** EPrints community wiki - http://wiki.eprints.org/
>
> caching: no, I don't think so.
>
> Are you editing the cfg files in /archives/FOO/cfg/...
>
> XML files are loaded in order. If more than one file contains the same 
> phraseid and is later in the directory, it will override.
>
> Christian Authried wrote:
>> *** EPrints technical list - http://software.eprints.org/tech.php/
>> *** EPrints community wiki - http://wiki.eprints.org/
>>
>> Hi again,
>>
>> when I'm adding (or changing the display name) a NEW field 
>> (/cfg/cfg.d/eprint_fields.pl, /cfg/lang/de/phrases/eprint_fields.xml) 
>> or a NEW stage in the workflow (/cfg/workflows/eprint/default.xml, 
>> /cfg/lang/de/phrases/workflow.xml) the changes are shown in the web 
>> interface.
>>
>> But when I'm changing the display names for "standard" 
eprint fields 
>> (e.g. title, pages) or a stage name 
>> (/cfg/lang/de/phrases/eprint_fields.xml, 
>> /cfg/lang/de/phrases/workflow.xml) the changes are not shown in the 
>> web interface.
>>
>> I tried:
>> ./generate_views ARCHIVEID
>> ./epadmin reload ARCHIVEID
>> server restart
>>
>> Can there be a caching problem?
>>
>> Best regards,
>> Christian.
>>
>>
>> Christopher Gutteridge schrieb:
>>> *** EPrints technical list - http://software.eprints.org/tech.php/
>>> *** EPrints community wiki - http://wiki.eprints.org/
>>>
>>> Restart apache or run epadmin reload XXX
>>>
>>> Christian Authried wrote:
>>>> *** EPrints technical list - 
http://software.eprints.org/tech.php/
>>>> *** EPrints community wiki - http://wiki.eprints.org/
>>>>
>>>> Hi,
>>>>
>>>> I've made some changes in 
>>>> archives/ARCHIVEID/cfg/lang/en/phrases/eprint_fields.xml but 
the 
>>>> web interface is still the same. Even when I start epadmin 
>>>> erase_data, generate_views etc.
>>>>
>>>> Best regards,
>>>> Christian.
>>>>
>>
>


[index] [prev] [next] [options] [help]