[prev in list] [next in list] [prev in thread] [next in thread]
List: binarycloud-dev
Subject: Re: [binarycloud-dev] current state
From: Jason Hines <jch () eyeintegrated ! com>
Date: 2004-03-27 17:53:06
Message-ID: 4065BF82.6060801 () eyeintegrated ! com
[Download RAW message or body]
Manuel Holtgrewe wrote:
>> 2. Resources do not work over multiple template instances
>> 1a. drop resources or conceive a phing solution?
>>
> Why not use a global Resource class as we once had?
Because the old method required that Nodes register their resource files
in Init(). This works, but also places pure presentation logic in the
wrong place. I'm looking for a solution similar to the outputfilter
method, where templates can use a smarty plugin to register there
resources as strings.
{resource name="HEAD" id="my_app"}
<style>
td#foo {color:#000;}
</style>
{/resource}
This is a perfect way to handle resources, aside from the fact it
doesn't work currently outside a single top node tree. :\
jason
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@binarycloud.tigris.org
For additional commands, e-mail: dev-help@binarycloud.tigris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic