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

RE: [ic] Multiple product layout on flypage.html


Hi.. I have read this topic.. on that page.. 

I wish to know if anyone has done this before.. 

I would like to get their feed back on how effective it has work.. as well
as a working example..

Does this also mean that each item ended, one will have to set what flypage
to use ?(dumb quesito.. but I want to make sure)

Thanks a mil guys..


Andre


Ps what about the admin GUI where I have to enter data into... how can I
split that up for the different product categories... ?

-----Original Message-----
From: Kevin Walsh [mailto:suppressed 
Sent: Monday, April 25, 2005 10:01 AM
To: suppressed
Subject: RE: [ic] Multiple product layout on flypage.html

Andre Bunting suppressed wrote:
> I was wondering .. in my case I have clocks and watches..
> now on the flypage.html.. I was wondering if I can have an if statement to
> tell the flypage which layout to show, either the layout for clocks or
> the layout for watches.. 
> 
> [snip: example code]
> 
> Is the approve possible ? if so how to do it.. secondly .. what would I
> have to do so that in the admin section I would have two sets of input
> screens.. one for clocks.. others for watches ?
> 
You could code two completely different layouts into one flypage.html
but what would happen, in the future, when you decide that you want
three types of layout (perhaps a new one for grandfather clocks)?  The
code could become very difficult to maintain after a while.

A cleaner solution be to use a different flypage for each product type.
See the "PageSelectField" configuration directive:

    http://www.interchange.rtfm.info/docs/rtfm_icconfig.html

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

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


_______________________________________________
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.