forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject [Dispatcher v3] Problem chaining hooks with the same name
Date Fri, 13 Jan 2006 12:58:25 GMT
Thorsten,

Here is an example where I have a problem :

<forrest:hook class="logo">
  <forrest:contract name="branding-logo"> ...
</forrest:hook>
<forrest:hook class="logo">
  <forrest:contract name="branding-logo"/> ...
</forrest:hook>

Gives this :
<div class="logo">
<!--+ start Logo +-->
    ...
<!--+ end group Logo +-->
<!--+ start Logo +-->
    ...
<!--+ end group Logo +-->
</div>

<div class="logo" />

The first div - that is hook - is not closed after the first logo but 
after the second ?
The second hook generate an empty div tag - which is as we all know 
something that several browsers don't like at all :-) .

For the moment, I comment the second logo of the pelt theme...


-- 

Salutations,
Cyriaque,


Mime
View raw message