[PHPTAL] PHPTAL 1.2.0 alpha - is this a bug or my fail?!

Kornel Lesiński kornel at aardvarkmedia.co.uk
Thu May 14 11:33:49 CEST 2009


On 14-05-2009 at 06:34:11 Alister Cameron <alister.cameron at cameroncreative.com> wrote:

> Could I bother someone to have a look at the processed cache file and
> diagnose?
>
> http://www.alistercameron.com/tal.src.txt

This code uses entry variable _after_ the loop (e.g. in id="post-${entry/the_ID}"). Do you have such code in your template, or is it miscompiled? Could you send the source?


BTW: you have lots of divs with omit-tag="". It should be tal:omit-tag="". You can also use <tal:block>.


-- 
regards, Kornel



More information about the PHPTAL mailing list