[CWB] parameters for css scheme are not appliying
Hardie, Andrew
a.hardie at lancaster.ac.uk
Fri Sep 27 21:02:54 CEST 2024
(Another "catchup" reply...)
Andrés, I have finally found some time to follow up on the CSS issue by taking a look at your server. (https://recursos-glif.upf.edu/cqpweb/)
Any problems you are presently having with the CSS are probably due to the hacks you've made to the code. Using view-source shows that you have inserted a bunch of HTML at the top of the page, including an HTML header and then a bunch of body content prior to the HTML doctype, header etc that CQPweb generates. The result is invalid HTML so you are basically relying on the user's browser to guess what you meant - and it might or might not get that right.
Anyway: in 3.2.latest the correct style for that config variable is, if I recall correctly, "extra/CQPweb-sfti.css". But a fully qualified URL should work too. You seem to have it sorted out at present.
best
Andrew.
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Andrés Chandía
Sent: 07 July 2024 11:16
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] parameters for css scheme are not appliying
I have just noticed that when you access the web or reload it, the theme that I have configured is loaded, for fractions of seconds, the colours of the theme are seen... but finally the default theme is displayed.
The URL has changed to: https://corptedig-glif.upf.edu/cqpweb/
Thanks...
El mar, 11 jun 2024 a las 10:14, Andrés Chandía (<andreschandiaf at gmail.com<mailto:andreschandiaf at gmail.com>>) escribió:
3.2.latest... v3.2.44
https://corptedig-glif.upf.edu/testweb/cqpweb/
El lun, 10 jun 2024 a las 22:26, Hardie, Andrew (<a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>>) escribió:
What version are you on? 3.2.latest? Or 3.3?
Andrew.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of Andrés Chandía
Sent: Thursday, June 6, 2024 2:36 PM
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: Re: [CWB] parameters for css scheme are not appliying
Sorry, I have corrected the typo but anyway my value does not overwrite the default one:
<title>CQPweb Main Page</title>
<link rel="stylesheet" type="text/css" href="css/CQPweb-blue.css">
I have tried:
1) $colour_scheme_for_homepage = 'https://corptedig-glif.upf.edu/testweb/cqpweb/css/extra/CQPweb-sfti.css';
2) $colour_scheme_for_homepage = 'css/extra/CQPweb-sfti.css';
3) $colour_scheme_for_homepage = '../css/extra/CQPweb-sfti.css';
I have cleared cache and reloaded, but nothing
El jue, 6 jun 2024 a las 13:32, Andrés Chandía (<andreschandiaf at gmail.com<mailto:andreschandiaf at gmail.com>>) escribió:
Oh shiii..., you're right, really, really sorry for that!!!
El jue, 6 jun 2024 a las 13:04, Hardie, Andrew (<a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>>) escribió:
I believe you have spelt "extra" wrong. -- AH
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of Andrés Chandía
Sent: Wednesday, June 5, 2024 9:47 PM
To: cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>
Subject: [CWB] parameters for css scheme are not appliying
Hi there, I have tried to give new color scheme to the cqpweb start page and others but changes get not applied:
I have added into the file: config.inc.php
the following lines, following the cqpweb admin manual:
$colour_scheme_for_homepage = '../css/exrta/CQPweb-sfti.css';
$colour_scheme_for_adminpage = '../css/exrta/CQPweb-sfti.css';
$colour_scheme_for_userpage = '../css/exrta/CQPweb-sfti.css';
This scheme works for individual corpus but not for the home page and the others I'm trying to change, I have tried ../css/ and css/, just in case...
some other way to accomplish it?
Thanks
--
Andrés Chandía
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
--
Andrés Chandía
--
Andrés Chandía
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
--
Andrés Chandía
--
Andrés Chandía
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240927/baff4bf7/attachment-0001.html>
More information about the CWB
mailing list