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
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.