osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-30-2003, 11:12 AM
New Member
 
Join Date: Jan 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damien2
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-30-2003, 12:46 PM
New Member
 
Join Date: Nov 2002
Location: UK
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lango
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 //-->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-30-2003, 01:45 PM
New Member
 
Join Date: Jan 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damien2
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-30-2003, 01:59 PM
New Member
 
Join Date: Nov 2002
Location: UK
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lango
Default

Its 22.55 here (WALES)

If theres anytning I can do to help?

PM

Good Luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-30-2003, 02:11 PM
New Member
 
Join Date: Jan 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damien2
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.
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
Urgent help needed! Coupon total not being passed CC company akasharkbow osCMax v2 Installation issues 1 05-07-2006 12:03 PM
page_parse_time.log error on site Walter osCommerce 2.2 Modification Help 4 11-27-2005 02:14 AM
osCommerce MS2Max from scratch - Urgent help needed! pram0310 osCMax v1.7 Installation 3 12-02-2004 06:22 AM
cc_validation.php - Please, urgent help needed! dos osCommerce 2.2 Modification Help 0 02-18-2003 02:33 PM


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


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