[ic] Variable flypages

Trevor Kenney binary@dv5.net
Sat, 7 Oct 2000 12:49:33 +0800


Greetings IC users

I have been watching closely to the discussions regarding IC, and in
particular the issues in upgrading MV 4.0X
I have used quite extensively the feature mentioned by Jeff Case

PageSelectField xxxxxx
(unique flypage selection using a field in the products table)

Is anyone else using this feature, and (Mike / Akopia) is it planned to be
included in IC at all.

thanks

Trevor

----- Original Message -----
From: "Stefan Hornburg" <racke@linuxia.de>
To: <interchange-users@minivend.com>
Sent: Friday, October 06, 2000 1:37 AM
Subject: Re: [ic] Variable flypages


> "Jeff Case" <jeff_case@hotmail.com> writes:
>
> > How do I allow a database field to determine which flypage is used?
>
> I think it is not possible with IC yet. But the following modification
> should suffice:
>
> --- interchange/lib/Vend/Page.pm Wed Aug 23 10:11:29 2000
> +++ invendor/lib/Vend/Page.pm Thu Aug 24 09:37:36 2000
> @@ -90,7 +90,7 @@
>
>   # Try for on-the-fly if not there
>   if(! defined $page) {
> - $page = Vend::Interpolate::fly_page($name);
> + $page = Vend::Interpolate::fly_page($name, undef,
readin($Vend::Session->{arg}));
>   }
>
>      if (defined $page) {
>
>
> Then you can choose the flypage as follows
>
> [page href="[item-code]" arg="[item-field flypage]"]FLYTEST</a>
>
> Ciao
>         Racke
>
> --
> LinuXia Systems && Cobolt NetServices, eCommerce and more
> Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
> http://www.linuxia.de - http://www.cobolt.net
> --> Junior Officer of the MiniVend/Interchange Bug Patrol <---
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>