osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Removing column_left with BTS

This is a discussion on Removing column_left with BTS within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Could someone tell me how to remove column_left from all pages? I successfully removed it in the main.tpl.php by commenting ...


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 01-16-2004, 03:30 PM
New Member
 
Join Date: Oct 2003
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
innovations
Default Removing column_left with BTS

Could someone tell me how to remove column_left from all pages? I successfully removed it in the main.tpl.php by commenting out the code like such:
Quote:
<!--<td width="<?php //echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php //require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
<!--</table></td>
The only problem is that when I go to certain pages (such as when I click "view all items") the left column displays again, and since I have my categories in the right column I get an error message that says:
Quote:
Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/interior/public_html/catalog/includes/boxes/categories.php:17) in /home/interior/public_html/catalog/includes/boxes/categories.php on line 17
Any help appreciated, and Paul if you are around I am sure that you could bail me out for sure on this one
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-16-2004, 08:25 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

innovations, It sounds like you are running pre v1.5.5 version of Max. Get the upgrade pack from the download section, and that should fix the template problems. The issue is that not all the mods were BTS compliant until v1.5.5 was released.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-11-2005, 11:54 AM
New Member
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mikez68
Default Right colum Fatal Error (template for categories on left)

I am having the same problem with a MS2MAX 1.7 installation. I bought a graphics package from the site suggested on the standard install's mainpage.
This template has the main column and the catergories in the left column
All looks good except the account_history_info.php which puts the categories in the left column and the right shows the error:

Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/mikez/public_html/catalog/includes/boxes/categories.php:19) in /home/mikez/public_html/catalog/includes/boxes/categories.php on line 19

I am looking in account_history_info.tpl
but I cannot figure it out.

Any clues or assistance would be appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-11-2005, 12:29 PM
New Member
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mikez68
Default fixed it-kind of

tried to remove the code for the left column from
acct_history_info.php
I botched the whole page and reloaded my backup
Then I tried to remove the right column
by removing line 265
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

this worked - no error code showing, this page is just backwards.
ie: categories on the left
but the Fatal Error message is gone. So I don't look too bad.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Column_left white space call me stupid! AnnieChrist osCMax v1.7 Installation 0 04-22-2005 03:46 PM
Change column_left width adam71o osCMax v1.7 Installation 11 04-12-2005 06:51 AM
making my column_left and Column_rights fit into my layout.. tmac2104 osCMax v1.7 Discussion 0 07-08-2004 11:36 PM
Removing review reid osCMax v1.7 Discussion 6 04-19-2004 11:11 PM
Column_left background image rd42 osCommerce 2.2 Modification Help 4 07-13-2003 11:24 PM


All times are GMT -8. The time now is 04:01 AM.


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