[ic] Template pages

Paul Jordan interchange-users@interchange.redhat.com
Fri May 31 18:12:01 2002


> Alright.. I've had it with this template page business.. I've
> spent 2 days
> trying to figure out where this goes..
>
> PageSelectField    template_page

Put it in catalog.cfg which is on the same level a pages/ and products/.
Alot of people sometimes end up doing

PageSelectField    prod_group

In other words, look closely at you database design, maybe a column that is
already occupied (prod_group, category) will be sufficient in defining the
different products. You don't want to occupy a column if you don't need to.

Then you must have "flypages" named after the contents of this column. So in
your example maybe you would have

template_page
gfather
gfather
wall
gfather

So in pages/ you would make a flypage named gfather.hmtl and wall.html, and
they would handle  their respective products automatically.

HTH  Paul


> at least i think thats what I want to do.. what I need is several
> different
> flypages that are assignable to products in the database so some
> of the images
> will change depending on what product the customer is looking at..
>
> For example when a customer views a grandfather clock the clock
> should show up
> on the fly page
> http://gfcplus.com/~eaganh/cgi-bin/cart.cgi/grandfather.html
> which has been my test subject. These pages will also serve as
> flypages for the
> galleries.. so it will kind of look like my current results
> page.. just with
> different images for diferent products...
>
> If this makes sense to anyone please lend me a hand with this..
> it's driving me
> nuts.
>
>
> I'm not a programmer,
>
> RAT
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users