[ic] RE: [include ...] not interpolated in admin pages?

Peter peter at pajamian.dhs.org
Wed Oct 11 16:09:53 EDT 2006


On 10/11/2006 08:21 AM, Nora Heuer - Baytides Management Inc. wrote:
>> Using IC 5.2
>>
>> When using [include somefile] within admin/customer_view or
>> admin/order_view the included file does not get interpolated for IC tags.
>>
>> If I use the code from the include file directly in the page, it obviously
>> works.
>>
>> Is there a particular reason for that?
>>
>> I was hoping to streamline....
>>
>> Thanks for any insight.
> 
> Never mind.
> Too bad that the looping tag has to be part of the include file, but it is what it is.


It's a bit ugly, but you can set scratches for the values you need in
the included file, ie:
[tmpn code][loop-code][/tmpn]
[tmpn foo][loop-param foo][\tmpn]
[tmpn bar][loop-param bar][/tmpn]

...then access with:
[scratch code]
[scratch foo]
[scratch bar]

Peter



More information about the interchange-users mailing list