forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: using view/viewHelper
Date Sat, 16 Apr 2005 02:24:17 GMT
On Fri, 2005-04-15 at 16:33 -0700, Diwaker Gupta wrote:
> Hi everyone,
> I'm playing around with view/viewHelper -- pretty cool! Its easy to
> define new views by placing them in ${content-dir}/conf/. I can either
> use default.fv or define per-page views. All rocks.


> However, I wasn't very sure where to put the relevant CSS stuff? The
> plugin itself contains some CSS as part of the contracts. I looked at
> input.xmap in the view plugin, but couldn't find a definite answer.

Actually you are looking for

I made some changes to add custom css to the view.

<forrest:css url="someCss.css"/>

This tag has to be direct son from forrest:view!

In the above link you will find:
<map:when test="{project:skins-dir}{path}/{name}.css">

That means e.g.
<forrest:css url="prosimii-screen-alt.css"/>

would expect (with default values) 
 |-- css
     `-- prosimii-screen-alt.css



> Diwaker

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

View raw message