[Cubicweb] external_resources

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Jul 7 20:05:36 CEST 2009


On 07 juillet 12:30, Carlos Balderas wrote:
> Salut,
> 
> The use of external_resources.
> 
> I am trying to declare my own and overwrite existing stylesheet classes in
> my CW application,  so I am using the external_resources file but when I
> uncomment the line below in the file:
> (example)
> #STYLESHEETS = DATADIR/cubes.alltests.css
> 
> I lost the access of the cubicweb stylesheet's classes. I was wondering if I
> need to copy all the classes of the cubicweb stylesheet here? or I might be
> missing some step in the configuration of the external_resources file.

either add:

  @import url("cubicweb.css");

at the top of your css file, or set 

  STYLESHEETS = DATADIR/cubicweb.css, DATADIR/cubes.alltests.cs

in the external_resources file


-- 
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