[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Subject Appear Duplicate
- Subject: [EP-tech] Subject Appear Duplicate
- From: drn at ecs.soton.ac.uk (David R Newman)
- Date: Sat, 21 Nov 2020 15:18:15 +0000
- In-reply-to: <EMEW3|a39ca9a11fe5a3ba9e3e61d0cab32bbawAJE6u14eprints-tech-bounces|ecs.soton.ac.uk|CAANJ=pgr3VX-raVLLp9qyO7KqMq-tjeJyKP0uAQ78E7ATGS_5Q@mail.gmail.com>
- References: <CAANJ=pgr3VX-raVLLp9qyO7KqMq-tjeJyKP0uAQ78E7ATGS_5Q@mail.gmail.com> <CAANJ=pgr3VX-raVLLp9qyO7KqMq-tjeJyKP0uAQ78E7ATGS_5Q@mail.gmail.com> <EMEW3|a39ca9a11fe5a3ba9e3e61d0cab32bbawAJE6u14eprints-tech-bounces|ecs.soton.ac.uk|CAANJ=pgr3VX-raVLLp9qyO7KqMq-tjeJyKP0uAQ78E7ATGS_5Q@mail.gmail.com> <3ec420b5-5137-22ed-35c2-5cf2cdc43207@ecs.soton.ac.uk>
Hi Izwan,
The phrase you should need to edit is *viewtitle_eprint_subjects_list*.
Here is the phrase as I see it in
/EPRINTS_PATH//lib/lang/en/phrases/system.xml:
Items where Subject is "<epc:pin name="value1"/>"
This should only display the subject title once within the quote marks.?
Maybe somehow this phrase has been modified.? The easiest way to find
this out and fix it is to go to the Admin menu and then in the "Config.
Tools" tab click on the "Phrase Editor" button.? On this page find (i.e.
using Ctrl+F shortcut) viewtitle_eprint_subjects_list.? If it looks like
this or more likely it has expanded the XML to look like:
Items where Subject is "<epc:pin name="value1"></epc:pin>"
then the phrase is correct and it may be the code that renders the title
on the browse view page that is at fault.? It is worth checking that to
the right of the box with the phrase in it says "en/system" this
indicates it is the default system phrase and has not been modified.? If
the phrase has been change then change the value back to the default I
have provided and save it and then go to the "System Tools" tab of the
Admin menu and click on "Regenerate Views" before revisiting the browse
view page you reported the issue with.? By default the bottom of the
browse view should have a date and time of generated.? If that is about
the same time as you loaded the page then it has been regenerated.? So
if the page still has the duplicate subject displayed and there is some
other issue.
If the phrase looks the same as the value I provided and "en/system" is
still set (or my above advice did not make a difference), then it would
be useful to know which version of EPrints you are running, as there may
be a bug with the code in this version that has led to your problem.? If
you go to the http:///REPOSITORY_HOSTNAME//cgi/counter (subsituting
/REPOSITORY_HOSTNA/ME as appropriate) should display a page that
includes the version number.? If you can tell me that I may be able to
look into whether this version has such a bug.
Regards
David Newman
On 20/11/2020 14:03, MOHD.IZWAN SALIM via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Dear?all
>
> I just found out that some of my subject title is duplicate.
>
> image.png
> Where should I take a look to fix this?
>
> Regards
>
> *Izwan
> *UiTM Library
>
> *** 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=04%7C01%7C%7C27d789e8bdaf47d13ce208d88e30abbe%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637415687186933328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yJe2n4t01RGe9qGIzif%2FjFunfs%2BYaCQGxLMh%2FxAtU6k%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7C%7C27d789e8bdaf47d13ce208d88e30abbe%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637415687186943319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lQZpMucFdCm2t7%2B2WVpoii36NZ412zVG85B7moBAV44%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7C%7C27d789e8bdaf47d13ce208d88e30abbe%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637415687186943319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Vw5hut0f%2FZ4P8H5ODeW4mSU7NikbWOE9q0pelo%2FaW68%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201121/3a6193ed/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 127906 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201121/3a6193ed/attachment-0001.png