[PHPTAL] Joining strings in tal:attribute

David Zülke dz at bitxtender.com
Fri Apr 14 18:23:49 CEST 2006


<a tal:attributes="href string:${baseurl}${book/title}">foo</a>

- David


> Hi list,
>
> i just played around with phptal and wondered about a little issue.
>
> if i want to set for example the href-attribute of a link, i can do  
> it like this:
>
> <a tal:attributes="href book/url">foo</a>
>
> But now I have a little problem. The link should be something like  
> this: baseurl+book/title.
>
> I played around a bit but did not found any expression that works.  
> Neither by trying nor in the manual.
>
> Any suggestions concerning this? Thanks in advance.
>
> cheers
> Benny
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>



More information about the PHPTAL mailing list