[dev] horde_template weirdness
    Chuck Hagenbuch 
    chuck at horde.org
       
    Wed Dec  4 17:40:54 2002
    
    
  
Quoting Marko <marko@oblo.com>:
> 1) if the <loop:...> tag is started on the very first line of the
> template and there's no character between the start of the <loop:...> and 
> the file, it will not actually do a loop. doing just a <tag:somevar /> 
> works fine, it prints the somevar, but <loop:..> no.
> one solution - put a space between the start of the template and the loop
> tag and it works!
Fixed now in CVS.
> 2) if the loop is to be repeated, it has to be used exactly the same way
> for it to be printed again. ie. if it is once:
> <loop:mylist> <li><tag:mylist /> </loop:mylist>
> 
> then using it again in the file:
> <loop:mylist><tag:mylist />, </loop:mylist>
> 
> will not work.
Also fixed in CVS.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers
    
    
More information about the dev
mailing list