Forums / Templates, Stylesheets, Page Layout / Changing attributes layout

Changing attributes layout

Locked
Results 1 to 9 of 9
This thread is locked. New replies are disabled.
23 Apr 2007, 04:07
#2
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

Re: Changing attributes layout

well, I can tell you whats doing it, <br class="clearBoth"/>

and it should be coming from /includes/modules/attributes.php

this appears seven (!) times in the file, and I'm not quite sure which one if causing the trouble....it may be all of them, its a rather large scary file

what I would do is
A) make an override directory in /includes/modules so your not playing with the original
B) make a backup anyway :P
C) start commenting them out and see what they do, a simple // in front should do the trick

There is a tag inside the file called products_options_images_per_row, but Zen admin can't seem to find it in any files. unless you include the [' '] on the end. Sigh.
admin, catalog/option name manager is the file, but bugger if I see how to make it work.

23 Apr 2007, 08:17
#3
nipepusy avatar

nipepusy

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Re: Changing attributes layout

Thanks, TMC_Sherpa

I'll try your suggestions - could take me a while!!
23 Apr 2007, 08:37
#4
nipepusy avatar

nipepusy

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Re: Changing attributes layout

TMC_Sherpa - Success -
went to admin, catalog/option name manager and set 4 rows and 4 images per row - works!

Thanks for pointing me in the right direction..
23 Apr 2007, 18:21
#5
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

Re: Changing attributes layout

Glad it worked. One of these days I'll check for admin options first :)
05 May 2007, 03:52
#6
mellonade avatar

mellonade

New Zenner

Join Date:
Apr 2007
Posts:
69
Plugin Contributions:
0

Re: Changing attributes layout

Do any of you know how to make each unique option (including both its name and values) display next to each other? It seems like it would be related to this, so i thought i'd ask here. i want my option values menu to still dropdown, but i want to arrange all the options horizontally.

thanks for any insight you may have,
mel
05 May 2007, 05:09
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Changing attributes layout

Try

#productAttributes .clearBoth {display: none;}

It's rather an all-or-nothing effect. If all your attributes can display on one line it may do the job right.
04 Aug 2007, 15:16
#8
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Posts:
346
Plugin Contributions:
0

Re: Changing attributes layout

 #productAttributes .clearBoth {display: none;}
The above CSS doesn't work because it removes all .clearBoth from other elements within the attribute display area resulting in very funky layout.

However I got the desired horizontal affect. See Nahid Fashions' Signature Chic I

I created an override copy of /includes/modules/attributes.php in my template directory.
I then changed all (7) the occurrances of

$tmp_attributes_image .= '<br class="clearBoth" />' . "\n";
to

$tmp_attributes_image . "\n";
That seems to have worked and only affects the attribute images.
28 Sep 2007, 01:40
#9
chotaboy avatar

chotaboy

New Zenner

Join Date:
Sep 2007
Posts:
32
Plugin Contributions:
0

Re: Changing attributes layout

is there a way to get the drop down to work like this?

1 image at a time

so when i pick a option from the dropdown it loads the image for that attribute option?

instead of having 20 images load all pver the page


thx