[ic] [tmp] in container looping tags (loop, tree)

Zambra michael at zambra.com
Wed Oct 12 14:31:58 EDT 2005



Hello,

I have noticed a funny behaviour of the [tmp] tag used inside a looping 
tag like tree.
One example (parameters a similar to the ones used in [tree] and 
provided just for completion):

[miloopingtag
        start='0001'
        table=arbol
        master=child_fld
        subordinate=parent_fld
        name=name
]
[msg][item-param name][/msg]
<br>
[/miloopingtag]

[tmp] doesn't localize when the value returned by [item-param name] 
contains the single quote character. I 'm reading from a tree table that 
contains single quotas in some "name" cells.These names are also 
contained as keys in the locale table.
If I place the same value with a single quote contained in one of these 
cells directly in the loop, like:

[miloopingtag
        start='0001'
        table=arbol
        master=child_fld
        subordinate=parent_fld
        name=name
]
[msg]I'm blinded[/msg]
<br>
[/miloopingtag]

the message is correctly localized.

Have you experienced similar problems ?

Thanks for any hints!

Best,

Miguel
zambra.com


More information about the interchange-users mailing list