[PHPTAL] Re: Need some help with a loop

2008-11-22 Thread Tanax
Thanks alot! Worked like a charm(used the last example since I found that one simpler to understand)! /Marcus > Hi, > > This is one of the cases where TAL is a bit strange to work with. The > following should work even if the HTML generated is not standards compliant. > > >tal:condition="ph

[PHPTAL] Re: PHPTAL Digest, Vol 45, Issue 20

2008-11-22 Thread Jonavon Wilcox
Yes, a very simple solution. I just missed the obvious. Thanks On Sat, Nov 22, 2008 at 6:00 AM, <[EMAIL PROTECTED]>wrote: > Send PHPTAL mailing list submissions to >phptal@lists.motion-twin.com > > To subscribe or unsubscribe via the World Wide Web, visit >http://lists.motion-twin

Re: [PHPTAL] Need some help with a loop

2008-11-22 Thread Iván -DrSlump- Montes
Hi, This is one of the cases where TAL is a bit strange to work with. The following should work even if the HTML generated is not standards compliant. Another option (better in my opinion) would be to split the list in chunks: ciao, /imv On Sat, Nov 22, 2008 at 3

[PHPTAL] Need some help with a loop

2008-11-22 Thread Tanax
Hi! I'm wondering how to solve this, cause I have no idea. I'm having the php pull an array of images from the DB. Then I'm iterating through them with PHPTAL and writing them out in a table. Problem is this:

Re: [PHPTAL] for loops calendars and phptal

2008-11-22 Thread Szymek Przybył
Hi *Jonavon*!* * I think that you should put into phptal template an array with ready data - all cell's in your kalendar - which days are "start range", which "end", and which are normal cells. In phptal if's are: .. Foreach's loops: Read more: http://phptal.motion-twin.com/manual