osCmax v2.5 User Manual
Results 1 to 3 of 3

Highslide and products_new.php

This is a discussion on Highslide and products_new.php within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; hi all i am going nuts here on how to add Highslide to products_new.php does anyone know if it can ...

      
  1. #1
    Lurker
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    0


    Default Highslide and products_new.php

    hi all i am going nuts here on how to add Highslide to products_new.php does anyone know if it can be done i found the highslide and product_info Contribution it works fine but i want to add highslide to products_new thanks

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Highslide and products_new.php

    Just follow the instructions, and make adjustments to put it in the file you want... not too hard I would think.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Highslide and products_new.php

    This is untested but find in product_new.tpl.php (about line 110):
    PHP Code:
                <td width="<?php echo SMALL_IMAGE_WIDTH 10?>" valign="top" class="main"><?php echo '<a href="' tep_href_link(FILENAME_PRODUCT_INFO'products_id=' $products_new[$x]['products_id']) . '">' tep_image(DIR_WS_IMAGES $products_new[$x]['products_image'], $products_new[$x]['products_name'], SMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT) . '</a>'?></td>
    To
    PHP Code:
                <td width="<?php echo SMALL_IMAGE_WIDTH 10?>" valign="top" class="main"><?php echo '<a id="thumb'.$listing['products_id'].'" class="highslide" onclick="return hs.expand(this);" href="' tep_image(DIR_WS_IMAGES $products_new[$x]['products_image'], $products_new[$x]['products_name']) . '">' tep_image(DIR_WS_IMAGES $products_new[$x]['products_image'], $products_new[$x]['products_name']], SMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT) . '</a>'?></td>
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. products_new.tpl.php
    By dead7 in forum osCmax v2 Customization/Mods
    Replies: 30
    Last Post: 09-07-2010, 11:04 PM
  2. Highslide for product_info.php
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-28-2008, 09:00 AM
  3. OSC Plus Highslide
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-31-2008, 05:11 PM
  4. OSC Plus Highslide
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-30-2008, 12:34 PM
  5. limiting products properly in products_new
    By ganz_friedrich in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 06-10-2005, 04:48 AM

Bookmarks

Posting Permissions

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