[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.