[ic] Placing components in the main content area of the page

Mike Kang interchange at thedesignpeople.com
Wed Jan 21 11:53:11 EST 2004


Aaron Hazelton wrote:
> On Mon, 19 Jan 2004 15:58:05 -0800, Mike Kang
> <interchange at thedesignpeople.com> wrote:
> 
>> Question: Does anyone know of a way to insert components and their
>> associated scratchpad variables into the main content area of of a
>> page. Basically adding components to the page on-the-fly as it were
>> without having to pre-set up component areas for them.  When I try and
>> just dump the appropriate [control-set] and [control] codes in there
>> it messes up the order of any components that follow the content area
>> (as expected)  I was just wondering if there was a way.  Currently I'm
>> basically just having to copy and paste the component code directly into
>> the content area, which is the simplest solutions but not as
>> maintainable. 
>> 
>> Thanks
>> Mike K.
>> 
> 
> you could simply do something like:
> 
> 	[include file="components/something"]

Yeah, I tried that, but the problem I ran into was setting the scratchpad
variables for that component.  For example, If I wanted to display the promo
component in the main content area with 12 items (the default is 3) how
would I do that?  

Thanks





More information about the interchange-users mailing list