Jean-Christophe Michel | 1 Feb 2005 09:45
Favicon

Re: Template Question [last!!]

Wim Niemans ri wrote:
>>>This cumulating is exactly what is intended.
>>
>>Ah. It was precisely what we wanted to avoid :p
> 
> Well, that's the architectural constraint. Is there any raison for wanting 
> to avoid that?

If Nodes are seen as modules, 'black boxes', they should provide 
autonomous output and be independant from other nodes.

>>Sorry, but I think there's a big misundestanding here then :/
>>All you tell here is possible with current design. I'd recommand you to 
>>use css for themes rather than moving page blocks.
> 
> Yes, yes. Agree. But still designers should be allowed to modufy the page 
> as a whole. I see a marketing issue in this.

Other alternatives I can think of are
* to move the {$children.my_child_id1} in the top node tpl
* if you don't need logic in your children, simply use tpls included 
from the top one and pass them vars {include file="childtpl" 
value1=$value12}

> Not necessarily javascript. Could be css as well. The issue is to have a 
> complete page in one go, and enable fiddling around with it. 

If it's repetitive data, i see it as a table.
Should not be a child per invoice in the list.

(Continue reading)


Gmane