osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

CSS Menu

This is a discussion on CSS Menu within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Bing-o commented out this code in /boxes/categories_css.php Code: $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); new infoBoxHeading($info_box_contents, true, false); ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Welcome to osCMax Join osCMax Now! Download osCMax Here
Reply

 

LinkBack Thread Tools
  #11  
Old 08-30-2007, 02:18 PM
New Member
 
Join Date: Feb 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kyle_bruns
Default Re: CSS Menu

Bing-o
commented out this code in /boxes/categories_css.php
Code:
  $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);

 new infoBoxHeading($info_box_contents, true, false);

  $info_box_contents = array();
  $info_box_contents[] = array('text' => PrintSubMenus( 0, $languages_id, '' ));

  $info_box_contents[] = array('align' => 'center',
                              'text'  => '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>');
  $info_box_contents[] = array('align' => 'center',
                               'text'  => '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '">' . BOX_SPECIALS_ALLPRODS . '</a>');
  $info_box_contents[] = array('align' => 'center',
                               'text' => '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . BOX_WHATSNEW_ALLPRODS .'</a>');                               

  new infoBox($info_box_contents);
Replaced it with this
Code:
  $boxHeading = BOX_HEADING_CATEGORIES;
  $corner_left = 'square';
  $corner_right = 'square';
  $box_base_name = 'categories'; // for easy unique box template setup (added BTSv1.2)
  $box_id = $box_base_name . 'Box';  // for CSS styling paulm (editted BTSv1.2)

$boxContent = PrintSubMenus( 0, $languages_id, '' );

include (bts_select('boxes', $box_base_name)); // BTS 1.5
and now the box works with my template system & style sheet. How sweet it is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
CSS Menu michael_s New osCommerce Contributions 0 03-26-2007 03:52 AM
CSS Menu michael_s New osCommerce Contributions 2 02-04-2007 06:27 AM
cool menu vs dhtml menu Lara Croft osCMax v2 Features Discussion 3 01-17-2007 12:38 PM
Adding cool menu and keeping the catorory menu??? Kyle_Bassett osCMax v2 Customization/Mods 0 10-18-2005 10:17 AM
making the catalog menu same style as admin menu starchild osCommerce 2.2 Modification Help 0 06-01-2003 05:42 AM


All times are GMT -8. The time now is 07:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax