[EP-tech] Re: Creating bazaar packages which contain .css files
J.Salter at leeds.ac.uk
Fri Oct 10 09:36:10 BST 2014
I think that the theme files are compiled into the auto-3.3.12.css from their location in ~/lib/themes/… – if you look at that file, you can see where the files are coming from – e.g.
/* From: /usr/share/eprints/lib/themes/lul/static/style/auto/z_lul.css */
You might want to look at: http://bazaar.eprints.org/118/ and http://bazaar.eprints.org/232/ as examples of themes.
If you’ve got a test archive, try installing one of them and see where the files go.
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Simon Jennings
Sent: 07 October 2014 16:18
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Creating bazaar packages which contain .css files
very sorry, another eprints tutorial another question!
I'm completing the Style (CSS) and Eloquence (Languages) page for bazaar package development.
Unlike the screen based bazaar packages this one simply contains a .css file. The instructions are not specific on how to package this file.
The cfg file is copied over to cfg.d local directory, but I was wondering what happens to the .css file. The tutorial instructs us to
create it in the local directory:
and then "To package your theme simply remove the files you have created from the archive and package them in the same way you have in the earlier excises".
If I place it in the lib directory:
and then create and enable the package. The css is not copied to a local directory and then is no change in the interface.
Is this the correct thing to do, and as general question do bazaar package files other than the cfg get copied to the local subdirectories.
Many thanks again,
Research Data Management Software Developer
Library & Archives Service
London School of Hygiene and Tropical Medicine
simon.jennings at lshtm.ac.uk<mailto:simon.jennings at lshtm.ac.uk>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Eprints-tech