[Cubicweb] Cubicweb Digest, Vol 5, Issue 3

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Jul 9 11:03:28 CEST 2009


On 09 juillet 10:55, Aurélien Campéas wrote:
> On Thu, Jul 09, 2009 at 07:53:06AM +0200, Adrien Di Mascio wrote:
> > Hi Carlos,
> > 
> > On Thursday 09 July 2009 00:00:48 Carlos Balderas wrote:
> > > I needed to add a javascrit file too, when I put it in the
> > > external_resources file, I noticed that I lost some functionality of the
> > > edit-forms (double click editing attribute of an entity in the primary view
> > > for example), so, what I did was add this files with
> > 
> > If you redefine the JAVASCRIPTS or the STYLESHEETS variables in your 
> > external_resources file, it will totally ignore the default values of those 
> > variables. For the record, here are the default values :
> > 
> > STYLESHEETS = DATADIR/cubicweb.css
> > JAVASCRIPTS = DATADIR/jquery.js, DATADIR/jquery.corner.js, \
> >                          DATADIR/jquery.json.js, DATADIR/cubicweb.compat.js,\ 
> >                          DATADIR/cubicweb.python.js,
> >                          DATADIR/cubicweb.htmlhelpers.js
> > 
> > (this can be found in cubicweb/web/views/webconfig.py)
> 
> I've already been annoyed by this ... What if ... we provided a meta
> variable allowing to write (in bash-like syntax but we surely can do
> better) :
> 
> STYLESHEETS = $STYLESHEETS, DATADIR/mysheets.css
> 
> where $STYLESHEETS would expand to all previously collected ones ?

you know the feature request procedure :)
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org




More information about the Cubicweb mailing list