Zen Cart Logo
Forums / Addon Sideboxes / "Best sellers" scrolling sidebox thumbnail problem

"Best sellers" scrolling sidebox thumbnail problem

Locked

Views: 8,411

Results 21 to 30 of 30
This thread is locked. New replies are disabled.
5 Dec 2008, 7:14 AM
#21
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

"Best sellers" scrolling sidebox thumbnail problem

for some reason the pictures are big when it scrolls
No idea why that should happen as works fine on my demo site...
however, you also have hoverbox installed..not tested
scrolling with that particular mod...
Also, sideboxes on your site are quite narrrow in width..
try setting them to 160 px or higher via admin,,

5 Dec 2008, 2:51 PM
#22
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

misty:

No idea why that should happen as works fine on my demo site...
however, you also have hoverbox installed..not tested
scrolling with that particular mod...
Also, sideboxes on your site are quite narrrow in width..
try setting them to 160 px or higher via admin,,

hmm I set the width of both sides to 160 and the left is a lil screwy. Man this boggles me. I'm sure its something very easy that I am missing or something. What do you have on your stylesheet.css for best sellers?

5 Dec 2008, 5:33 PM
#23
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: "Best sellers" scrolling sidebox thumbnail problem

What do you have on your stylesheet.css for best sellers?
Nothing that would affect this sidebox...if it was affected
by IH2 than css entry would be required..but it is not..

9 Dec 2008, 5:22 PM
#24
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

misty:

Nothing that would affect this sidebox...if it was affected
by IH2 than css entry would be required..but it is not..

hmm, not sure what would be causing the problem then, been trying to figure this out for awhile now...

10 Dec 2008, 1:56 AM
#25
lahun avatar

lahun

New Zenner

Join Date:
Dec 2008
Location:
Mexico
Posts:
1
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

Try this in your tpl_best_sellers.php:

Arround line 14 find:

$rp .= '<li> <a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . '<img class="bestsellers_thumbnail" src="images/' . $bestsellers_list[$i]['image'] . '">' . '<br>' .zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";

Change to:

$rp .= '<br /><center><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . '<img align= "Center" width="100" class="bestsellers_thumbnail" src="images/' . $bestsellers_list[$i]['image'] . '">' . '<br>' .zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></center><br /><br />' . "\n";

it worked for me

good luck!

10 Dec 2008, 4:17 AM
#26
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

Lahun:

Try this in your tpl_best_sellers.php:

Arround line 14 find:

$rp .= '<li> <a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . '<img class="bestsellers_thumbnail" src="images/' . $bestsellers_list[$i]['image'] . '">' . '<br>' .zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";

Change to:

$rp .= '<br /><center><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . '<img align= "Center" width="100" class="bestsellers_thumbnail" src="images/' . $bestsellers_list[$i]['image'] . '">' . '<br>' .zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></center><br /><br />' . "\n";

it worked for me

good luck!

Thanks for the help! Glad it worked for you, I changed the code, but it still showing the picture big

10 Dec 2008, 5:38 AM
#27
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

ahh that fixed the problem with the webpage and I see the product title now, for some reason the pictures are big when it scrolls
Just visted your site..correct sized images are scrolling..
:wink:

10 Dec 2008, 6:17 AM
#28
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

misty:

Just visted your site..correct sized images are scrolling..
:wink:

Very odd, it is working! Great! I feel better now. Works in both FireFox and IE.

THanks for the help everyone

10 Dec 2008, 6:33 AM
#29
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

Very odd, it is working! Great! I feel better now. Works in both FireFox and IE.

THanks for the help everyone
Pleased to hear problem finally sorted..

:clap:

14 Feb 2009, 11:56 PM
#30
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

Hey All,

I just installed this mod on my website and everything is working well except the scrolling products arnt centered and im not sure how to get it looking right can anyone please assist?

Link: https://www.truwater.com.au

Thanks