osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Newbie with MS2-Max. Need the help of some Pro's!

This is a discussion on Newbie with MS2-Max. Need the help of some Pro's! within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Greetings all- I've been lurking for the past couple of weeks so I thought I'd sign up and see what ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-19-2004, 09:24 PM
Anonymous
Guest
 
Posts: n/a
Default Newbie with MS2-Max. Need the help of some Pro's!

Greetings all-

I've been lurking for the past couple of weeks so I thought I'd sign up and see what I could see.

I recently downloaded and installed MS2-Max from AAbox and installed it no problem. I've been getting everything set up and configured to my liking. It's been hard but at the same time it's been very rewarding.

Anyways, I've got a question for some of you Pro's out there that I'm hoping you could help me answer. I've been looking at these two contributions and I was wondering if they would require much modification to the code of MS2-Max to install. I'm not too proficient with PHP, but I'd really like to have Graphical Headers on my info boxes. Here are the two contributions:

http://www.oscommerce.com/community/contributions,867/
http://www.oscommerce.com/community/contributions,1379

I really don't know what the difference is between the two other than one seems to be a bit newer.

Can graphical headers on info boxes be done thru BTS? Sorry if these questions seem a bit silly, all the acronyms have me a tad confused.

It seems like you all have a great community here!

Thanks in advance,

-Engelwood
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-19-2004, 09:25 PM
Lurker
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Engelwood
Default

Thought I had signed in!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-20-2004, 10:23 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

The second one may be a newer verion of the first one... Should not be too hard to add (use a tool like Beyond Compare to merge it into your site)

You could also look at:

http://www.oscommerce.com/community/contributions,1702
Graphical Boxes [Contribution]

This contribution wraps a graphical box around all infoboxes, content boxes and product listing boxes as well as the 37 other files that display content in the center column.

Thus no need to create a graphical text heading for each box....
__________________
JPF - osCMax Fourm Moderator
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-20-2004, 01:51 PM
Lurker
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Engelwood
Default

Thanks for the quick reply!
I decided to try this one out: http://www.oscommerce.com/community/contributions,1379

I downloaded Beyond Compare (It's a nice little program btw) and decided to get my hands wet...

I thought I'd start off by just changing the Information box. I changed the code to what I thought would work, but for some reason I'm getting this problem (see attached image). The image is showing up fine, but there is also the Original header box right below it!

Here is my code

Code:
<?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 (c) 2003 osCommerce

  Released under the GNU General Public License
*/
?>
<!-- information //-->
<tr>
  <td> 
    <table width="124" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
      <tr>
        <td>          <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
            <tr> 
              <td colspan=3 width="124"> <img src="images/boxes/table_information.jpg"></td>
            </tr>
            <tr> 
              <td> 
<?php
  $boxHeading = BOX_HEADING_INFORMATION;
  $boxContent = '<a href="' . tep_href_link(FILENAME_SHIPPING) . '"> ' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_PRIVACY) . '"> ' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '"> ' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '"> ' . BOX_INFORMATION_CONTACT . '</a><br>'.
                '<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGES, '', 'NONSSL') . '">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '"> ' . BOX_INFORMATION_GV . '</a>';//ICW ORDER TOTAL CREDIT CLASS/GV

  require(DIR_WS_TEMPLATES . TEMPLATENAME_BOX);
?>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    
  </td>
</tr>
<!-- information_eof //-->
Attached Images
File Type: jpg problem.jpg (19.9 KB, 92 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-21-2004, 09:10 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Try this:
Code:
<?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 (c) 2003 osCommerce

  Released under the GNU General Public License
*/
?>
<!-- information //-->
<?php
// changed line below for GRAPHIC HEADER MOD - change pic name for each box
  $boxHeading = 'images/boxes/information.jpg';

// removed for GRAPHIC HEADER mod
//  $boxHeading = BOX_HEADING_INFORMATION;
//  $corner_left = 'square';
//  $corner_right = 'square';

  $boxContent = '<a href="' . tep_href_link(FILENAME_SHIPPING) . '"> ' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_PRIVACY) . '"> ' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '"> ' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '"> ' . BOX_INFORMATION_CONTACT . '</a><br>'.
                '<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGES, '', 'NONSSL') . '">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>' .
                '<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '"> ' . BOX_INFORMATION_GV . '</a>';//ICW ORDER TOTAL CREDIT CLASS/GV

  require(DIR_WS_TEMPLATES . TEMPLATENAME_BOX);
?>
<!-- information_eof //-->
And in box.tpl.php
change to:
Code:
<?php /* infobox template  */ ?>
          <tr>
            <td>
              <table border="0" width="100%" cellspacing="0" cellpadding="0">
                <tr>
<!-- BEGIN GRAPHIC HEADER - Removed 3 lines - Add one
        <td height="14" class="infoBoxHeading"><img src="images/infobox/<?php switch ($corner_left) { case 'square': echo 'corner_right_left.gif';	break; case 'rounded': echo 'corner_left.gif'; break;} ?>" border="0" alt="" width="11" height="14"></td>
                  <td width="100%" height="14" class="infoBoxHeading"><?php echo $boxHeading; ?></td>
                  <td height="14" class="infoBoxHeading" nowrap><?php echo $boxLink; ?><img src="images/<?php switch ($corner_right) { case 'square': echo 'pixel_trans.gif';	break; case 'rounded': echo 'infobox/corner_right.gif'; break;} ?>" border="0" alt="" width="11" height="14"></td>\
end of remove -->
                  <td width="100%" height="14" class="infoBoxHeading"><img src="<?php echo $boxHeading ?>" border="0" alt="" height="14">
<!-- End of graphic headers -->
                </tr>
              </table>
              <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
              <tr>
                <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
              <tr>
                <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
              </tr>
              <tr>
                <td class="boxText"<?php echo $boxContent_attributes; ?>><?php echo $boxContent; ?></td>
              </tr>
              <tr>
                <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
              </tr>
            </table>
            </td>
              </tr>
            </table>
            </td>
          </tr>
Note: if you do this then ALL boxes must have a graphic header!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-23-2004, 03:11 PM
Lurker
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Engelwood
Default

Excellent! Thanks a bunch for all your help!!

One question tho, For the infoboxes like "whats new" or "Shopping cart, is there anyway to make it so that you can click on them and they will bring you to the corresponding page?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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
Newbie needs some help please countingsheep osCMax v2 Installation issues 0 03-30-2006 06:07 AM
newbie mods? villadec osCommerce 2.2 Installation Help 4 04-13-2004 11:08 AM
newbie tax question frobscottle osCommerce 2.2 Installation Help 5 02-05-2004 06:23 AM
HELP NEWBIE HERE!!!!!!! handysf osCMax v1.7 Discussion 1 01-14-2004 10:27 PM
Newbie Needs help. latahani osCommerce 2.2 Modification Help 1 02-26-2003 07:32 AM


All times are GMT -8. The time now is 04:02 PM.


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