EPrints Technical Mailing List Archive

Message: #04413


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

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


Hello everyone, thanks for suggestions.

Like Matthew Brady said, was cached. I delete some cache tables on the database, then restart mysql and apache and a few minutes later i could visualize the changes.

Thanks :)

2015-06-30 0:08 GMT-06:00 <martin.braendle@id.uzh.ch>:

Hi Edwin,

did you run generate_static after the change?

Best regards,

Martin

--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Stampfenbachstr. 73
CH-8006 Zürich


Inactive hide details for Matthew Brady ---23/06/2015 01:33:44---Hi Edwin, More than likely, your browser has cached the all inMatthew Brady ---23/06/2015 01:33:44---Hi Edwin, More than likely, your browser has cached the all in one output css file (auto-3.3.10.css)

Von: Matthew Brady <Matthew.Brady@usq.edu.au>
An: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Datum: 23/06/2015 01:33
Betreff: [EP-tech] Re: Problem with the style sheet zzz_local.css
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk





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="" />
            <script type="text/_javascript_" src="">
   
Our fixed template, now pushes out
            <link rel="stylesheet" type="text/css" href="" />
            <script type="text/_javascript_" src="">
   
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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Edwin Gamez
Sent:
 Tuesday, 23 June 2015 3:32 AM
To:
 eprints-tech@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 )
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/
*** EPrints developers Forum:
http://forum.eprints.org/


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/