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.com/mailman/listinfo/phptal
> or, via email, send a message with subject or body 'help' to
>        [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>        [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PHPTAL digest..."
>
>
> Today's Topics:
>
>   1. Re: for loops calendars and phptal (Szymek Przyby?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 22 Nov 2008 09:45:01 +0100
> From: Szymek Przyby? <[EMAIL PROTECTED]>
> Subject: Re: [PHPTAL] for loops calendars and phptal
> To: phptal@lists.motion-twin.com
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-2; format=flowed
>
> 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:
> <tal:block tal:condition="condition in tal or php:condition - in php">
> ......
> </tal:block>
>
> Foreach's loops:
> <tr tal:repeat="item an_array">
>    <td tal:content="item></td>
> </tr>
>
>
> If you really need for loop, just make an array through range() function
> in php.
>
> Read more: http://phptal.motion-twin.com/manual/en/split/
>
>
> cheers,
> szymek
>
>
>
>
> ------------------------------
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
> End of PHPTAL Digest, Vol 45, Issue 20
> **************************************
>
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to