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

"Best sellers" scrolling sidebox thumbnail problem

Locked

Views: 8,411

Results 1 to 20 of 30
This thread is locked. New replies are disabled.
27 Nov 2008, 2:14 PM
#1
chris32882 avatar

chris32882

Zen Follower

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

"Best sellers" scrolling sidebox thumbnail problem

I just installed this mod and on my page it shows just fine, except the pictures arent thumbnails, their actual size, how can I change this?

27 Nov 2008, 5:10 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

I just installed this mod and on my page it shows just fine, except the pictures arent thumbnails, their actual size, how can I change this?

Ch,
Locate this:
includes/templates/cherry_zen/css/styleshett.css

Find this:
ul, ol {
margin:0 0 10px 10;
padding-left:25;
text-align:left;
}

Change to this:
ul, ol {
margin:0 0 10px 0;
padding-left:0;
text-align:left;
}

  1. Notice the highlighted text red in your declaration values I have changed...
  2. I found this problem by using Moxilla Firefox browser with the add on Web developer and Firebug
  3. A free killer tool to build your site
27 Nov 2008, 11:50 PM
#3
chris32882 avatar

chris32882

Zen Follower

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

Re: "Best sellers" scrolling sidebox thumbnail problem

haredo:

Ch,
Locate this:
includes/templates/cherry_zen/css/styleshett.css

Find this:
ul, ol {
margin:0 0 10px 10;
padding-left:25;
text-align:left;
}

Change to this:
ul, ol {
margin:0 0 10px 0;
padding-left:0;
text-align:left;
}

  1. Notice the highlighted text red in your declaration values I have changed...
  1. I found this problem by using Moxilla Firefox browser with the add on Web developer and Firebug
  1. A free killer tool to build your site

I have changed it but it still does not work correctly the pictures are original size, not thumbnails

28 Nov 2008, 12:38 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

I have changed it but it still does not work correctly the pictures are original size, not thumbnails

Ch,
I right mouse clicked and viewed properties...

http://themccormickshop.com/images/candles_and_scents/38886.jpg

  1. here is where you will change the size
28 Nov 2008, 12:54 AM
#5
chris32882 avatar

chris32882

Zen Follower

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

Re: "Best sellers" scrolling sidebox thumbnail problem

haredo:

Ch,
I right mouse clicked and viewed properties...

http://themccormickshop.com/images/candles_and_scents/38886.jpg

  1. here is where you will change the size

yes I can do it manually, but that will mess up the rest of the photos, it should automaticly resize it to a thumbnail

28 Nov 2008, 1:33 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

yes I can do it manually, but that will mess up the rest of the photos, it should automaticly resize it to a thumbnail

Have you searched the forum??

http://www.zen-cart.com/forum/showthread.php?t=81462&highlight=sellers+scrolling

28 Nov 2008, 1:38 AM
#7
chris32882 avatar

chris32882

Zen Follower

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

Re: "Best sellers" scrolling sidebox thumbnail problem

haredo:

Have you searched the forum??

http://www.zen-cart.com/forum/showthread.php?t=81462&highlight=sellers+scrolling

Yes I have, I tried earlier without going through page by page, but didn't bring up anything..now I went page by page and finding some stuff, thanks

28 Nov 2008, 1:41 AM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

Ch,
You are most welcome,

The link I sent to you should be the fix... :)

28 Nov 2008, 1:50 AM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

Yes I have, I tried earlier without going through page by page, but didn't bring up anything..now I went page by page and finding some stuff, thanks

Ch,
Congratulation, What was the fix...
Great Job.....

28 Nov 2008, 2:01 AM
#10
chris32882 avatar

chris32882

Zen Follower

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

Re: "Best sellers" scrolling sidebox thumbnail problem

haredo:

Ch,
Congratulation, What was the fix...
Great Job.....

not sure yet, you can see the other posts I have posted in this thread,

1 Dec 2008, 1:28 PM
#11
chris32882 avatar

chris32882

Zen Follower

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

Re: "Best sellers" scrolling sidebox thumbnail problem

if anyone can help me out with this problem, I would greatly appreciate it ;)

1 Dec 2008, 5:36 PM
#12
misty avatar

misty

Inactive

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

Re: "Best sellers" scrolling sidebox thumbnail problem

http://www.dezinashop.com/demo/

Best Sellers Scrolling Sidebox, left side at above...

4 Dec 2008, 3:10 PM
#13
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:

http://www.dezinashop.com/demo/

Best Sellers Scrolling Sidebox, left side at above...

Yeah I see that it works, just trying to figure out what I am doing wrong on my end

4 Dec 2008, 3:43 PM
#14
misty avatar

misty

Inactive

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

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

Yeah I see that it works, just trying to figure out what I am doing wrong on my end
Quoted url so you could VIEW SOURCE...

my code...

<MARQUEE style="position:relative" behavior= "scroll" align= "center" direction= "up" width="140" height="160" scrollamount= "2" scrolldelay= "5" onmouseover='this.stop()' onmouseout='this.start()'>

Your Code

<MARQUEE behavior= "scroll" align= "center" direction= "up" width="150" height="160" scrollamount= "1" scrolldelay= "5" onmouseover='this.stop()' onmouseout='this.start()'>

Image Handler 2 installed affects scolling sideboxes...

4 Dec 2008, 5:16 PM
#15
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:

Quoted url so you could VIEW SOURCE...

my code...

<MARQUEE style="position:relative" behavior= "scroll" align= "center" direction= "up" width="140" height="160" scrollamount= "2" scrolldelay= "5" onmouseover='this.stop()' onmouseout='this.start()'> ``` > Your Code > ``` <MARQUEE behavior= "scroll" align= "center" direction= "up" width="150" height="160" scrollamount= "1" scrolldelay= "5" onmouseover='this.stop()' onmouseout='this.start()'> ``` > > Image Handler 2 installed affects scolling sideboxes...

I'm sorry I didn't see what you meant by the that post, I realize that now.

I changed the marquee code with the code that was on your website and it messed up the site more for some reason..

5 Dec 2008, 12:34 AM
#16
chris32882 avatar

chris32882

Zen Follower

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

Re: "Best sellers" scrolling sidebox thumbnail problem

if someone can be more descriptive and explain to me what I am doing or what I can change to solve this problem I would appreciate it. I isntalled this contribution thought it would work right out of the box it didn't explain how to install it whatsoever or if it was compatible with image handler or not.

5 Dec 2008, 6:31 AM
#17
misty avatar

misty

Inactive

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

Re: "Best sellers" scrolling sidebox thumbnail problem

or if it was compatible with image handler or not.
Image Handler 2 does not show mousepver image with
Bestsellers scrolling sidebox as you can see on my demo site..which version of this mod did you install?

5 Dec 2008, 6:36 AM
#18
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:

Image Handler 2 does not show mousepver image with
Bestsellers scrolling sidebox as you can see on my demo site..which version of this mod did you install?

I believe its the latest version...

scrolling_bestsellers_sidebox_1-0.rar is what I downloaded

5 Dec 2008, 6:40 AM
#19
misty avatar

misty

Inactive

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

Re: "Best sellers" scrolling sidebox thumbnail problem

chris32882:

I believe its the latest version...

scrolling_bestsellers_sidebox_1-0.rar is what I downloaded

<?php
/**
 * Scrolling Best Sellers Side Box Template
 * Updated by dezina.com - December 2008
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $rp .=   '<br /><center><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></center><br /><br />' . "\n";
  }
  $total = $i;
 if ($total > 1) { //if more than one special exists in the db then scrolling begins
 $content .= '<MARQUEE style="position:relative" behavior= "scroll" align= "center" direction= "up" width="140" height="160" scrollamount= "2" scrolldelay= "5" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'>' . $rp .'</MARQUEE>';
 }
 elseif ($total == 1) {  // If only one special exists in the db then the specials box will remain static
    $content .=  $rp;
 }
 else { //  If there are no bestsellers then this text is displayed
    $content .= "No bestsellers this month!";
 }
 $content .= '</div>';
?>

Above is code from my own amended tpl_best_sellers.php

5 Dec 2008, 7:04 AM
#20
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:

<?php /** * Scrolling Best Sellers Side Box Template * Updated by dezina.com - December 2008 * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $ */ $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">'; for ($i=1; $i<=sizeof($bestsellers_list); $i++) { $rp .= '<br /><center><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></center><br /><br />' . "\n"; } $total = $i; if ($total > 1) { //if more than one special exists in the db then scrolling begins $content .= '<MARQUEE style="position:relative" behavior= "scroll" align= "center" direction= "up" width="140" height="160" scrollamount= "2" scrolldelay= "5" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'>' . $rp .'</MARQUEE>'; } elseif ($total == 1) { // If only one special exists in the db then the specials box will remain static $content .= $rp; } else { // If there are no bestsellers then this text is displayed $content .= "No bestsellers this month!"; } $content .= '</div>'; ?>
> Above is code from my own amended tpl_best_sellers.php

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