[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] missing some configuration file
- Subject: [EP-tech] missing some configuration file
- From: drn at ecs.soton.ac.uk (David R Newman)
- Date: Tue, 26 Jan 2021 17:49:14 +0000
- In-reply-to: <EMEW3|d5686ba638adfda956ee7152b887c164x0PHJD14eprints-tech-bounces|ecs.soton.ac.uk|CAG7+Vtwvz5emYoEyCBYA=txMqzsqz6idhLCfovZ3RFQ+wRRZ5g@mail.gmail.com>
- References: <CAG7+Vtwvz5emYoEyCBYA=txMqzsqz6idhLCfovZ3RFQ+wRRZ5g@mail.gmail.com> <CAG7+Vtwvz5emYoEyCBYA=txMqzsqz6idhLCfovZ3RFQ+wRRZ5g@mail.gmail.com> <EMEW3|d5686ba638adfda956ee7152b887c164x0PHJD14eprints-tech-bounces|ecs.soton.ac.uk|CAG7+Vtwvz5emYoEyCBYA=txMqzsqz6idhLCfovZ3RFQ+wRRZ5g@mail.gmail.com> <1d675c66-82a6-6bde-0d1b-ad43e1df2b34@ecs.soton.ac.uk>
Hi Sonu,
You want to edit
/usr/share/eprints/archives/translation/cfg/lang/en/templates/default.xml
but be careful to make sure you do not introduce any syntax errors as
that could break the interface from where you are editing this file.?
You may also need to make the same changes? to
/usr/share/eprints/archives/translation/cfg/lang/en/templates/default_internal.xml
to make similar changes to internal pages.
You may first need to copy both default.xml and default_internal.xml
from /usr/share/eprints/flavours/pub_lib/lang/en/templates/ to
/usr/share/eprints/archives/translation/cfg/lang/en/templates/. You will
probably need to do this from the server's command line rather than
through the web interface.? In fact my advice would be to edit these
pages (e.g. using vim, nano or a similar text editor) from the command
line as well.? Really the web interface in your screenshot is only
intended for making minor changes or fixes, not significant working
rebranding your repository.
If you need to add extra CSS you want to add new files under
/usr/share/eprints/archives/translation/cfg/static/style/auto/ as they
will automatically be included in the combined CSS file
/style/auto-3.4.2.css rather than having to edit the template to add CSS
files one by one.? Similarly if you need to add JavaScript you are best
doing that by adding new files to
/usr/share/eprints/archives/translation/cfg/static/javascript/auto/.
If you want to edit the homepage of your repository you will likely find
that at
/usr/share/eprints/archives/translation/cfg/lang/en/static/index.xpage,
although like the templates you may need to copy this from
/usr/share/eprints/flavours/pub_lib/lang/en/static/index.xpage to your
archive's equivalent directory.
Regards
David Newman
On 26/01/2021 17:18, Sonu Yadav via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Dear All,
>
> I successfully download 3.4.2 on ubuntu 20 installing from DEB method
> with?publications flavoured repository.
>
> I need to edit my front-page like adding logo and .css but I didn't
> get any related files.
> like citations, workflow folder in my eprints installation folder.
> In default the homepage is comes with logo but in my case there is no
> logo.
>
> I'm attaching the screenshot of my configuration files and homepage.
>
> *** 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%7Ceprints-tech%40ecs.soton.ac.uk%7Cc6760b3b213d49caccbc08d8c222b2f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637472801571701717%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QWuTBCPun7XrB797yBvAYH02hP1FuJVAHEsA5UH%2BBJg%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc6760b3b213d49caccbc08d8c222b2f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637472801571701717%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MgTc9M80XnjE6K1j2litEl1HfwTJdF4PRtdv%2BP2d8Pc%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%7Ceprints-tech%40ecs.soton.ac.uk%7Cc6760b3b213d49caccbc08d8c222b2f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637472801571701717%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=t46aKtsYDaN%2F9S2vL2GLj9VGG6OfNI6TRGmFF2XJ2qI%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210126/2644dc08/attachment.html