Results 1 to 10 of 30

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    UK - London
    Posts
    68
    Plugin Contributions
    4

    Default Scrolling Whats New Sidebox

    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:

    Code:
    $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?ma...roducts_id=250

    njoy
    sn0ut

  2. #2
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Idea or Suggestion Re: Scrolling Whats New Sidebox

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


  3. #3
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Scrolling Whats New Sidebox

    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

  4. #4
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Scrolling Whats New Sidebox

    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

  5. #5
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Scrolling Whats New Sidebox

    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.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Scrolling Whats New Sidebox

    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.

 

 

Similar Threads

  1. "Whats New" Scrolling Sidebox
    By qhome in forum Addon Sideboxes
    Replies: 92
    Last Post: 23 Oct 2009, 09:29 PM
  2. the speed of the scrolling whats-new sidebox ?
    By peppecol in forum Addon Sideboxes
    Replies: 0
    Last Post: 16 Sep 2007, 05:57 PM
  3. Scrolling Whats New
    By Prellyan in forum Addon Sideboxes
    Replies: 1
    Last Post: 31 Mar 2007, 06:49 AM
  4. Whats new scrolling box
    By Erica in forum Addon Sideboxes
    Replies: 0
    Last Post: 21 Jan 2007, 11:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg