osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

infoboxes and inlcudes/classes/boxes.php

This is a discussion on infoboxes and inlcudes/classes/boxes.php within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi all, As i understand it, we can customise, to a degree, each individual infobox by adding a infoxname.tpl.php to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-06-2007, 02:44 AM
New Member
 
Join Date: Jul 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adiwillow
Default infoboxes and inlcudes/classes/boxes.php

Hi all,

As i understand it, we can customise, to a degree, each individual infobox by adding a infoxname.tpl.php to templates/templatename/boxes/ .

That fine and dandy.. all works well.

Anyway, i'm a table hater, and want to change all my infoboxes to just divs.

BUT, although i can specify a new div layout in the tpl.php box files, its still surrounded by all this crap from includes/classes/boxes.php !!!! I dont want corner images, or table cells, or any of that. I just want the boxcontent ouputted without any of that rubbish surrounding it.

Can it be done? can i just scrap the table code from includes/classes/boxes.php somehow and just use the code from the tpl.php files?

If so, how? What do i need to keep in there and what do i need to get rid of?

cheers
adi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-06-2007, 09:05 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 444
Thanks: 3
Thanked 75 Times in 70 Posts
Rep Power: 6
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default Re: infoboxes and inlcudes/classes/boxes.php

Yes it can be done, but you will have to change how infoboxes work. Start by creating a new class for boxes.php called divboxes.php, drop the references for boxes.php rewrite the classes to act as you want and add the new class file divboxes.php which now has your classes that work properly for divs instead of tables.

OSC is not dhtml friendly by nature. Adding dhtml to a table based application is NOT easy. It can be done, but you are really taking the entire application apart to put it back together again.

On the other hand, if you were to create a dhtml version of BTS you would find many people willing to pay for such an template interface
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-07-2007, 02:17 AM
New Member
 
Join Date: Jul 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adiwillow
Default Re: infoboxes and inlcudes/classes/boxes.php

thanks ... i'll look into it.

I've already got most of the standard OSC page templates converted into divs ie product pages, category sections , checkout pages, the main template etc etc.. but the infoboxes are really bugging me.

A pure div BTS templating system.. would it really be that difficult? i already think i'm half way there.
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
New infoboxes don't appear in page.. jasper0 osCMax v2 Customization/Mods 0 08-08-2006 09:19 AM
change boxes background color now have double boxes ANNIE11 osCMax v1.7 General Mods Discussion 0 08-22-2005 07:16 PM
Customizing the look of infoboxes & content boxes developer_x osCommerce 2.2 Modification Help 6 03-05-2005 11:07 AM
Adding New Classes JaaMor osCommerce 2.2 Modification Help 1 11-13-2003 09:26 AM
Tax classes messias osCommerce 2.2 Modification Help 3 02-07-2003 12:51 AM


All times are GMT -8. The time now is 11:14 PM.


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