[EP-tech] Re: Problem with the style sheet zzz_local.css

Matthew Brady Matthew.Brady at usq.edu.au
Mon Jun 22 23:59:24 BST 2015


Hi Edwin,

More than likely, your browser has cached the all in one output css file (auto-3.3.10.css) that gets sent out by the ePrints server, and your changes haven’t been picked up as the filename of that css file hasn’t changed.

We ran across the same thing, and a force reload of all content fixed it.

In the longer term, we implemented a versioning fix, that alters the filename in the template,

e.g the default eprints install pumps out something similar to this in the html content


            <link rel="stylesheet" type="text/css" href="/style/auto-3.3.10.css" />

            <script type="text/javascript" src="/javascript/auto-3.3.10.js"><!--padder--></script>


Our fixed template, now pushes out

            <link rel="stylesheet" type="text/css" href="/style/auto-3.3.10.css?v=10.25b" />

            <script type="text/javascript" src="/javascript/auto-3.3.10.js?v=10.25b"><!--padder--></script>


This allows us to force all browsers to load the updated file, even though the filename itself doesn’t change.

Cheers.

Matt

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Edwin Gamez
Sent: Tuesday, 23 June 2015 3:32 AM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Problem with the style sheet zzz_local.css

Hi people.

I'm changing the css style in my eprints repository using the file in /eprints/archive_id/cfg/static/style/auto/zzz_local.css , but when i saved the changes, nothing happens.

How can i resolve this?

Thanks!!


_____________________________________________________________
This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150622/a928b17c/attachment-0001.html 


More information about the Eprints-tech mailing list