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

Re: [ic] Working with products and displaying specials, store logo


On Tue, 6 Nov 2007 16:21:10 +0200
 "Gert van der Spoel" <suppressed> wrote:

The other problem seems that items in the Specials box are
not uniform.  The first column is always wider then the
remaining columns, no matter how many I put in there.  I
can't seem to find a way to adjust that?

That is from what I can see another bug in the component. Somewhere is a width scratch being set (open the component and check the
content).
It should be calculating the % of width depending on the items you show .. So 5 items should show 20% ... However it always shows 100% ...

Easiest solution: If you know you are going to show 5 items, just sent the
Width manually to 20% ...

More difficult solution: Fix the component to calculate the width
correctly.

Ok, found this problem under templates/components/cross,

replace line 113 (and the or in line 114) with:
$Scratch->{width_percent} = int(100 / $n) . '%';

and you will get equal number of products correctly spaced.

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