[CWB] default values

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Jan 19 12:20:40 CET 2015


To change the number of hits shown in a concordance globally, add the following statement to your config file:

$default_per_page = 100;

(or whatever.)

There is not currently any way to change the default query mode. This is because it is set according to the presence or absence of a GET parameter in the URL. (adding &insertType=cqp to the URL will cause it always to be set to CQP query language rather than sq_case or sq_nocase, which are the codes for the other two options.)

best

Andrew.

=============================================================
On 17 Jan 2015 22:39, guerreau <guerreau at msh-paris.fr> wrote:

Dear All,

Is there a way to change the default values of the "standard query" page 
(query mode and number of hits) in CQPWeb ?

Many thanks in advance !

Best,

Alain Guerreau
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of guerreau
Sent: 18 January 2015 09:12
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] default values
Importance: High


Thank You.
I mean globally on the system.

Best

Alain.
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list