[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Eprints 3.4.3: adding new options for editing items

Hi Chris,

I think you are referring to the abstract pages not updating with your 
changes to thesis_name and thesis_type phrases.? These are cached server 
side the first time they are requested after a change to their 
underlying metadata.? As changing a phrase does not change the 
underlying metadata, then these pages will not be re-cached.? It does 
not sound like you have run "Regenerate Abstracts", which has a button 
you can click in the "System Tools" tab of the Admin page (although this 
may be what your mean by "rebuilding static pages").

The other issue could be that the phrases for thesis_name and 
thesis_type are already set in a phrase file that loads after 
zz_webcfg.xml.? I would check your archive's cfg/lang/en/phrases/ 
directory for a file that starts zzz_ or similar, (i.e. anything 
alphabetically later).? One further possible issue is that zz_webcfg.xml 
has become corrupted and no longer applies any of its phrases.? If you 
have command line access, you could try running:

xmllint zz_webcfg.xml > /dev/null

And see if you see any errors are output.? You may need to install 
install xmllint which comes in the libxml2-utils APT package.


David Newman

On 07/03/2023 10:04 am, Chris Halliwell via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Hello,
> I have recently built an eprints repository, running eprints 3.4.3 on 
> an Ubuntu 20.04.5 LTS server with Maria DB 10.3.37. The repository is 
> live.
> Both the Librarian and myself are currently stumped by how to add 
> options to a field such as Thesis Type or Thesis Name when editing an 
> item.
> If an option is added using "edit page phrases", then that change is 
> reflected in archives/ARCHIVE_NAME/cfg/lang/en/phrases/zz_webcfg.xml, 
> but no amount of reloading the configuration, rebuilding static pages, 
> or restarting Apache, will cause that addition to be reflected in the 
> webpage. By contrast, modifying an existing option works as expected.
> My /guess/ is that what is needed is a direct update to the database. 
> I don't see an option for this through the eprints front end, but 
> that's not a problem.
> What I'd really like to know is what is best practice here? Is it a 
> matter of updating the database along with editing the page phrase, or 
> are there additional steps to take? Should such edits be made on a 
> live repo at all, and if not, how do we toggle its live state?
> Thanks and best regards,
> Chris
> *Chris Halliwell ?I? IT Manager*
> City & Guilds of London Art School, 124 Kennington Park Road, London 
> SE11 4DJ
> Charity Registration no. 1144708? I? Company no. 7817519
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cityandguildsartschool.ac.uk%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19585378c3ae46e665f608db1ef5b828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638137812915093543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QWz0u2aRaDDJpuXfRnnjHvN8NVed2y1eBh9a%2BUM8gco%3D&reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cityandguildsartschool.ac.uk%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19585378c3ae46e665f608db1ef5b828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638137812915093543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QWz0u2aRaDDJpuXfRnnjHvN8NVed2y1eBh9a%2BUM8gco%3D&reserved=0>
> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19585378c3ae46e665f608db1ef5b828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638137812915249766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wlSa%2BztP2Gkzu7v3ur1ChtD9rdC9VE7lJVAwR73nMAI%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19585378c3ae46e665f608db1ef5b828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638137812915249766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=H3d4%2BjOWqNn6eV6cmzrkTn5wscp5ubaaBXNjaPAE2cM%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230307/90fca674/attachment.html