Results 1 to 5 of 5

Please: Urgent help needed- Editing sideboxes

This is a discussion on Please: Urgent help needed- Editing sideboxes within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, I'm sorry to sound like such a presumptious ******** but I need help with this, and in a hurry. ...

      
  1. #1
    New Member
    Join Date
    Jan 2003
    Posts
    5
    Rep Power
    0


    Default Please: Urgent help needed- Editing sideboxes

    Hi,

    I'm sorry to sound like such a presumptious ******** but I need help with this, and in a hurry. I've been trying for two weeks to edit the layout of the side boxes (in particular the cart, categories, bestsellers and new items boxes) but haven't been able to get them the way I want.

    Does anyone know the code (or how I'd get it) to simply output the contents of the cart, bestsellers and new items without any of the box formatting- i can call this from a php include and design the boxes individually in straight html without havin to generate things like titles.

    I've tried to figure it out myself but i've just botched it. Quite a few times!

    Any help you can give me would be much appreciated, i have a very important deadline tmrw!!

    cheers
    d

  2. #2
    New Member
    Join Date
    Nov 2002
    Location
    UK
    Posts
    21
    Rep Power
    0


    Default

    Damien,

    The code used to output the infoboxes is found in catalog/includes/boxes/ boxesname.
    the actual output for the categories is contained within the $categories_string

    Near the bottom of the file categories.php find

    Code:
    $info_box_contents = array();
      $info_box_contents[] = array('align' => 'left',
                                   'text'  => $categories_string
                                  );
      new infoBox($info_box_contents);
    so to hard code in html try this
    Code:
     
    /*$info_box_contents = array();
      $info_box_contents[] = array('align' => 'left',
                                   'text'  => $categories_string
                                  );
      */new infoBox($info_box_contents);
    ?>
         <tr>
            <td>
            
                <table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
                  <tr>
                    <td align="left" class="boxText"><?php echo $categories_string;?>
    
     </td>
                  </tr>
                </table>
                </td>
                
            </td>
          </tr>
             </td>
              </tr>
    <!-- categories_eof //-->

  3. #3
    New Member
    Join Date
    Jan 2003
    Posts
    5
    Rep Power
    0


    Default Cheers!

    Lango,

    Many thanks for your help, it's 22:39 here (in ireland) and I have a four hour drive tmrw to take a client through this on my iBook. Thank god for unix/apache/mysql/php on osx

    Looks like i've got a few hours ahead of me at the computer tonight

    Thanks again
    D

  4. #4
    New Member
    Join Date
    Nov 2002
    Location
    UK
    Posts
    21
    Rep Power
    0


    Default

    Its 22.55 here (WALES)

    If theres anytning I can do to help?

    PM

    Good Luck

  5. #5
    New Member
    Join Date
    Jan 2003
    Posts
    5
    Rep Power
    0


    Default

    Cheers man yer a star but I reckon I'll get through it after that. I'm guessin it's the same for the cart, the new items and the bestsellers?

    I've got most of the site runnin on the standard layout, and have the boxes to fit in with a few layouts I've done up. A bit of graft and it'll be grand.

Similar Threads

  1. Urgent help needed! Coupon total not being passed CC company
    By akasharkbow in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 05-07-2006, 01:03 PM
  2. page_parse_time.log error on site
    By Walter in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 11-27-2005, 03:14 AM
  3. osCommerce MS2Max from scratch - Urgent help needed!
    By pram0310 in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 12-02-2004, 07:22 AM
  4. cc_validation.php - Please, urgent help needed!
    By dos in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 02-18-2003, 03:33 PM

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
  •