roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Gilliland <>
Subject Re: "_css" url
Date Wed, 06 Jun 2007 03:20:02 GMT
The _css template is considered a special template and isn't meant to 
have a link associated with it or be accessed remotely.

My suggestion would be to create a new template with whatever name you 
want, such as custom.css and copy the contents of your _css template 
there.  In your new template you will use the 'link' attribute to define 
what the url for the template should be and then inside your other 
templates, such as your Weblog template, you can get a link to your 
custom css page using $"custom.css").  So this would work ...

<link rel="stylesheet" type="text/css" href="$'custom.css')" />

-- Allen

Raúl Fuenzalida wrote:
> Hi, i currently use the following to style my weblog
>  <style type="text/css">
> #includeTemplate($model.weblog "_css")
>  </style>
> I would like to use instead a <link> tag. How do I get te url of my
> _css template? so I can use it into the <link> tag
> <link rel="stylesheet" type="text/css" href=["_css" link] />
> thanks in advance
> raúl.

View raw message