osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

box.tpl.php and a couple of modules...

This is a discussion on box.tpl.php and a couple of modules... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Okay, using BTS 1.2a, I've managed to modify box.tpl.php to allow me to modify the way the boxes in the ...


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 05-06-2005, 08:04 PM
New Member
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Fontosaurus
Default box.tpl.php and a couple of modules...

Okay, using BTS 1.2a, I've managed to modify box.tpl.php to allow me to modify the way the boxes in the side columns appear. However, the two modules that appear in the main content area on the homepage, the Default Specials and the New Products boxes, don't seem to take the box format. I've been staring at the code for hours now...what am I missing?

Thanks!

-- Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-07-2005, 08:03 PM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default RE: box.tpl.php and a couple of modules...

stylesheet.css?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-08-2005, 07:04 PM
New Member
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Fontosaurus
Default Re: RE: box.tpl.php and a couple of modules...

Quote:
Originally Posted by makemethis
stylesheet.css?
Nice, but not the answer.

The issue is that the modules don't call the template and for the consistency factor, I need them to.

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-08-2005, 07:39 PM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default RE: Re: RE: box.tpl.php and a couple of modules...

default_specials.php and new_products.php do not have the following:

require(DIR_WS_TEMPLATES . TEMPLATENAME_BOX);

compare category.php and information.php and you will see both of these call for the template_box... default and new (which are in includes/modules) do not call for the template...try adding the line
__________________
True Meaning of Lost: Building a web site without knowledge or skill

True Meaning of Crazy: Building a web site anyhow

The Net Results: Never needing a comb again

www.MakeMeThis.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 05-16-2005, 05:20 PM
New Member
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Fontosaurus
Default Re: RE: Re: RE: box.tpl.php and a couple of modules...

Quote:
Originally Posted by makemethis
default_specials.php and new_products.php do not have the following:

require(DIR_WS_TEMPLATES . TEMPLATENAME_BOX);

compare category.php and information.php and you will see both of these call for the template_box... default and new (which are in includes/modules) do not call for the template...try adding the line
This is generally the line of inquiry I've been taking. So far, I'm having good results, and have actually done some re-writes of the code that draws these two modules. I'll post updates for people who want to use the same trick with their sites.
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
Couple questions--any help please? countingsheep osCMax v2 Installation issues 5 04-05-2006 05:08 PM
Problem with modules.php and shipping & payment modules heroyol osCommerce 2.2 Modification Help 1 11-18-2005 01:33 PM
Couple of questions paulj osCMax v1.7 Discussion 1 02-15-2005 08:22 PM
couple of questions. twinklep osCommerce 2.2 Modification Help 1 09-30-2004 01:23 PM
A couple of questions Anonymous osCommerce 2.2 Modification Help 1 11-23-2002 06:37 AM


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


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