Results 1 to 5 of 5

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

      
  1. #1
    New Member
    Join Date
    Mar 2005
    Posts
    5
    Rep Power
    0


    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

  2. #2
    Active Member
    Join Date
    Jun 2004
    Location
    Glued to Computer Chair
    Posts
    108
    Rep Power
    0


    Default RE: box.tpl.php and a couple of modules...

    stylesheet.css?
    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

  3. #3
    New Member
    Join Date
    Mar 2005
    Posts
    5
    Rep Power
    0


    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?

  4. #4
    Active Member
    Join Date
    Jun 2004
    Location
    Glued to Computer Chair
    Posts
    108
    Rep Power
    0


    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

  5. #5
    New Member
    Join Date
    Mar 2005
    Posts
    5
    Rep Power
    0


    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.

Similar Threads

  1. Couple questions--any help please?
    By countingsheep in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 04-05-2006, 06:08 PM
  2. Problem with modules.php and shipping & payment modules
    By heroyol in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-18-2005, 02:33 PM
  3. Couple of questions
    By paulj in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-15-2005, 09:22 PM
  4. couple of questions.
    By twinklep in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-30-2004, 02:23 PM
  5. A couple of questions
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-23-2002, 07:37 AM

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
  •