Billiant! All fixed :)
Think I went a bit slot-crazy ;)
Cheers,
-Alister
2009/5/15 Kornel Lesiński kor...@aardvarkmedia.co.uk
It seems that you've used slots where macros would have been more
appropriate.
This just defines the same slot many times:
span tal:repeat=entry entries
Hi Alister
Can you please post the code that assigns the variables to the template
object?
E.g, If you did the var_dump on $data and $data['entries'] is defined,
and you assigned $data to $template like
$template-data = $data;
...then I would expect the loop to look like:
span
On 14-05-2009 at 06:34:11 Alister Cameron alister.came...@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}).
Thanks Werner and Kornel...
I'll fix the omit-tag thing. A silly oversight.
Now, I've uploaded the raw and unprocessed template file to:
http://www.alistercameron.com/tal.tpl.txt
To clarify, this is a file that is compiled in a rather complex way which
has to do with how my WordPress theme is
It seems that you've used slots where macros would have been more appropriate.
This just defines the same slot many times:
span tal:repeat=entry entries omit-tag=
span metal:define-slot=cfct_excerpt /
/span
and the code below it, outside the loop:
div metal:fill-slot=cfct_excerpt