Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Sideboxes / Scrolling Whats New Sidebox

Scrolling Whats New Sidebox

Locked

Started by sn0ut on 23 Aug 2006, 5:32 PM · Views: 8,333

Results 1 to 20 of 30
This thread is locked. New replies are disabled.
23 Aug 2006, 5:32 PM
#1
sn0ut avatar

sn0ut

New Zenner

Join Date:
Oct 2005
Location:
UK - London
Posts:
56
Plugin Contributions:
3

Post #1 by sn0ut

Hi, Inspired by my specials scrolling sidebox I have made the same thing for the whats new sidebox.

This basically takes x amount of new products from the database where x is the value set in maximum values in the admin config section. loads them into and array and then scrolls it using the marquee tag in IE.

There are some configurable options in the page itself:

$scroll_amount =    "1"; // scroll amount
$scroll_delay =     "5";  // scroll delay
$scroll_direction = "up"; // scroll direction (can be up, down, left or right)
$scroll_behaviour = "scroll"; // scroll behaviour (can be scroll, alternate or slide) ** Seems to make no diff **
$box_height =       "160"; // height of whats new box

You can change these to modify how the sidebox is displayed and looks. I created this using 1.3 code and i have not tested on anything below 1.3.

Installation is easy just upload tpl_whats_new.php to your template override dir:

/includes/templates/%your_template%/sideboxes

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=250

njoy
sn0ut

23 Aug 2006, 8:09 PM
#2
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Post #2 by louis

Thanks sn0ut,
Downloaded, installed and tested on my test site. Working perfectly. I will be installing on my live site this weekend.

:thumbsup:

25 Jan 2007, 7:02 AM
#3
ry0n avatar

ry0n

New Zenner

Join Date:
Jan 2007
Posts:
2
Plugin Contributions:
0

Post #3 by ry0n

Thanks sn0ut very cool sidebox. I'm having a little trouble with it. Everything works perfectly- except it shows my oldest items instead of my newest. Can you assist? thanks so much! ryan

25 Jan 2007, 7:37 AM
#4
ry0n avatar

ry0n

New Zenner

Join Date:
Jan 2007
Posts:
2
Plugin Contributions:
0

Post #4 by ry0n

Nevermind! my problem was that I hadnt changed in Config-max values... for it to just show the products from the past month. it was set to all- in case someone else has this same problem

13 Oct 2007, 3:57 AM
#5
jeffmic avatar

jeffmic

Zen Follower

Join Date:
Aug 2006
Location:
North Carolina
Posts:
280
Plugin Contributions:
0

Post #5 by jeffmic

I'm having a problem trying to get your contribution to work on my site.
I have all 3 parts of the original whats_new correctly installed from my 1.3.6 install. As soon as I place tpl_what_new.php into my overrides directory, I get these 2 errors.

Any help would be appreciated.

Warning: main(includes/templates/ZC03C8447TM/sideboxes/tpl_whats_new.php) [function.main]: failed to open stream: No such file or directory in /Volumes/Files/MCzenstore/includes/modules/sideboxes/whats_new.php on line 26

Fatal error: main() [function.require]: Failed opening required 'includes/templates/ZC03C8447TM/sideboxes/tpl_whats_new.php' (include_path='.:') in /Volumes/Files/MCzenstore/includes/modules/sideboxes/whats_new.php on line 26

thanks,

Jeff Michaels,
pres of Musical Creations Ltd.

13 Oct 2007, 4:36 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,760
Plugin Contributions:
0

Post #6 by Kim

ZC03C8447TM

It is possible the template you are using has disabled some core features ...

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Jun 2008, 5:18 PM
#7
megadoodle avatar

megadoodle

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Post #7 by megadoodle

I'm hoping you can help.

I just installed a new template at my store. The tpl_whats_new worked in Firefox and IE before I did this.

Now, it only works in Firefox and not IE.

Here it the link to my site
http://www.scrappinfreestyle.com/store/

I appreciate any help you can offer. If you need more info from me, let me know.

I have not modified the tpl_whats_new

Brandy

17 Jun 2008, 12:50 AM
#8
megadoodle avatar

megadoodle

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Post #8 by megadoodle

Soo.... this still doesn't work for me in IE. Any help?

17 Jun 2008, 2:55 PM
#10
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

Post #10 by fusionsp

misty:

Latest Whats New Scroller works fine
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=996

yeah it seems to work ok for me. Im having issues with the product selection its picking. it seems to not be very random, starting at the same point with the same list every time i refresh it.

any clue on how to make it truely random? :wacko:

http://www.fusionspiritualemporium.com
Contrib: Events Calender v1.02 update

17 Jun 2008, 4:42 PM
#11
misty avatar

misty

Inactive

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

Post #11 by misty

Suspect works via date added...dont use whats new scroller too much.
Prefer Featured, as you have more control over what shows.
:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

17 Jun 2008, 5:03 PM
#12
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

Post #12 by fusionsp

misty:

Suspect works via date added...dont use whats new scroller too much.
Prefer Featured, as you have more control over what shows.
:smile:

thanks for a quick reply. but forgive me if im wrong, to use the featured products area...dont you have to set up every item individually to display there?

http://www.fusionspiritualemporium.com
Contrib: Events Calender v1.02 update

17 Jun 2008, 5:20 PM
#13
misty avatar

misty

Inactive

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

Post #13 by misty

forgive me if im wrong, to use the featured products area...dont you have to set up every item individually to display there?
Correct, just that I personally prefer it that way.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

17 Jun 2008, 5:27 PM
#14
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

Post #14 by fusionsp

well thanks for the suggestion either way. now if only someone would reply to my other problems i would be further along...

http://www.fusionspiritualemporium.com
Contrib: Events Calender v1.02 update

19 Jun 2008, 3:40 AM
#15
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

Post #15 by dimmyr

I seem to be having issues with IE6 as well, using the newest Scroller. Looks like the images show up statically outside the scroller window, and whatever scrolls inside is just text. Help, anyone?

20 Jun 2008, 7:30 AM
#16
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Post #16 by louis

dimmyr:

I seem to be having issues with IE6 as well, using the newest Scroller. Looks like the images show up statically outside the scroller window, and whatever scrolls inside is just text. Help, anyone?

Are you also using image handler? If so, switch off IH2 and see if the pictures scroll. I recall that the two cannot work together.

20 Jun 2008, 12:19 PM
#17
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

Post #17 by fusionsp

Louis:

Are you also using image handler? If so, switch off IH2 and see if the pictures scroll. I recall that the two cannot work together.

dimmyr:

I seem to be having issues with IE6 as well, using the newest Scroller. Looks like the images show up statically outside the scroller window, and whatever scrolls inside is just text. Help, anyone?

im not positive, but i believe you are both talking about using IH2. i fixed mine. check out this post.
http://www.zen-cart.com/forum/showpost.php?p=445740&postcount=3

also, i used the newest scrolling box. it seems to work best. it actually picks completely random products. i changed my max products to 15 so it has enough images to scroll through.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_52&products_id=996

http://www.fusionspiritualemporium.com
Contrib: Events Calender v1.02 update

22 Jun 2008, 1:18 AM
#18
pegog avatar

pegog

New Zenner

Join Date:
May 2008
Location:
Mount Colah, NSW, Australia
Posts:
49
Plugin Contributions:
0

Post #18 by pegog

I have installed the above mod and the scrolling is working fine. I am not using image handler 2 however, my images are huge so can't be seem.

Where does it get the images from? I have thumbnail images at 150px and saved as imagename_sm.jpg

The images are in the main image in a sub folder called thumbnails. I also tried putting the images in the main image file but still aren't having any luck.

No idea whats going on so if anyone can help it would be appreciated.

22 Jun 2008, 4:39 AM
#19
misty avatar

misty

Inactive

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

Post #19 by misty

The images are in the main image in a sub folder called thumbnails
TRY
image name = myimage.jpg and should be in folder/images

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

22 Jun 2008, 9:40 AM
#20
pegog avatar

pegog

New Zenner

Join Date:
May 2008
Location:
Mount Colah, NSW, Australia
Posts:
49
Plugin Contributions:
0

Post #20 by pegog

My mistake! This mod works fine its the best sellers scroll box thats the problem.

Thanks