Cybersheep Posted December 1, 2006 Posted December 1, 2006 :-" im looking to make a picture menu on my right colem im havein a lil troble trying to figger it out. how do i make the tables in the right colem and how do i link them to the page.
jpweber Posted December 1, 2006 Posted December 1, 2006 1) Open up your (catalog)/includes/boxes, and make a copy of information.php. 2) Rename the copy of information.php to pictures.php. 3) Open up pictures.php and replace things like tihs this: <?php/* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- pictures //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_PICTURES); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => ' put your picture stuff here .... use html, php, whatever '); new infoBox($info_box_contents); ?> </td> </tr> <!-- pictures_eof //--> 4) Don't forget to upload these images to your (catalog)/images folder. 5) Then go on to to (catalog)/includes/languages/english.php and define it by putting this line in, anywhere: define('BOX_HEADING_PICTURES', 'Some Sneak Previews'); or define('BOX_HEADING_PICTURES', '<img src="images/pictureheading.gif" '); 6) Go to (catalog)/includes/column_right.php and add this line in, where you feel it's appropriate, based on where you want it to appear on your page: include(DIR_WS_BOXES . 'pictures.php'); 7) Upload the changed files to the proper directories in your server. That should do it. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.