MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Result page...



Hi To everyone,

I am displaying in my result page a diffrent table to each diffrent
category, While the way i am doing it slowing very much the result page
creation, Today i am using the following:

[search-list]
[sort][value mfg][/sort]
[on-change 1]
[condition][item-field category][/condition]
[perl arg=scratch]
        $Safe{'scratch'}->{'dummy'} = '[item-field category]';
        return '';
[/perl]
[if scratch dummy eq 'hds'] *** Display Diffrent Table Header ****  [/if]
[if scratch dummy eq 'flagx'] *** Display Diffrent Table Header ****  [/if]
[if scratch dummy eq 'cds']   *** Display Diffrent Table Header ****   [/if]
[if scratch dummy eq 'monitors']  *** Display Diffrent Table Header ****
[/if]
[if scratch dummy eq 'tapes']  *** Display Diffrent Table Header ****  [/if]

[/on-change 1]
[if scratch dummy eq 'hds'] *** Dipslay Diffrent Table Content ****[/if]
[if scratch dummy eq 'flagx'] *** Dipslay Diffrent Table Content ****[/if]
[if scratch dummy eq 'cds'] *** Dipslay Diffrent Table Content ****[/if]
[if scratch dummy eq 'monitors'] *** Dipslay Diffrent Table Content
****[/if]
[if scratch dummy eq 'tapes'] *** Dipslay Diffrent Table Content ****[/if]
[/comment]
[/search-list]</TABLE>


(JoJo from mailing list help me getting with this way, Thanks JoJo
(again...)).

Does anyone have in mind a way to do the same thing using minivend tags and
not calling
the Perl thing on each item check on products.asc ?

If i am using the old way, with no special tables, and content.... raw
display, it takes to my page
less than 5 seconds to load (even for a heavy page), With the upper way, it
takes from 12 seconds
and more sometimes...

Thanks For Reading...,
and Thanks In Advance If Helping...,
Bye Bye & Best Wishes,
Eran Binyamin Zeitoun.

BTW: Have anyone tested the beta version of ActivePerl 5.6 with Fork()
option ?




Search for: Match: Format: Sort by: