[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] auto-X.Y.Z.css



Hi Yuri,

This is in lib/cfg.d/template_core.pl.? This file may also be in your 
archive's cfg/cfg.d/ directory or possibly even the 
flavours/pub_lib/cfg.d/ directory if you are on 3.4.

This is the block of code you need to update (around line 39):

 ?$head->appendChild( $repo->xml->create_element( "link",
 ??????????? rel => "stylesheet",
 ??????????? type => "text/css",
 ??????????? href => $repo->current_url( path => "static", 
"style/auto-".EPrints->human_version.".css" ),
 ??????? ) );

Regards

David Newman

On 28/04/2022 4:41 pm, Yuri via Eprints-tech wrote:
> CAUTION: This e-mail originated outside the University of Southampton.
>
> Hi!
>
>    where's the code/template that generates the link in the head to
> auto-X.Y.Z.css? I've modified it, but it is cached in the browser for a
> month. I need to change it in order to people to get the changes without
> asking them to clear the cache.
>
> Thanks!
>
>
> *** 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=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C411a65d98c47471ff43608da292eb3b7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637867577795417357%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nvB%2BYOrb7HQ7rko2jMJMNqcx7B0O2ac5nO%2F5S6o4EfM%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C411a65d98c47471ff43608da292eb3b7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637867577795417357%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FztIzVTuAWV%2BU%2BbY7zNINfJlPxrCoXSLBNtLALhJKwQ%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220428/2118bbfe/attachment.html