osCmax v2.5 User Manual
Results 1 to 5 of 5

How to remove a module

This is a discussion on How to remove a module within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I'm wondering how I can go about making a couple of changes to my page. I would like to remove ...

      
  1. #1
    Member
    Join Date
    Feb 2006
    Posts
    61
    Rep Power
    0


    Default How to remove a module

    I'm wondering how I can go about making a couple of changes to my page. I would like to remove the "New Products" section that appears on the main catalog page. I would also like to change the link at the top of the page called "Top" and change it to "Home Page." If you like to see the page I'm talking about, it can be seen at the following link: http://www.shopatcake.com/catalog/index.php

    Thanks for any pointers...

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default RE: How to remove a module

    1) remove the "top" - in application_top.php comment out:
    Code:
     //  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
    2) in /templates/whatevertemplate-u-r-using/content/index_default.tpl.php

    change

    Code:
              <tr>
                <td><br><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
              </tr>
    to

    Code:
    <? /* turned off  new products        <tr>
                <td><br><  ?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?  ></td>
              </tr> */  ?>
    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

  3. #3
    Member
    Join Date
    Feb 2006
    Posts
    61
    Rep Power
    0


    Default Changing Header Name

    If I want to change the word "Top" to "Home", can it be done by changing:


    $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

    to this:

    $breadcrumb->add(HEADER_TITLE_HOME, HTTP_SERVER);

    I just would like to change the heading name and not the function.

    Thanks for any pointers...and thanks met00 for your earlier reply for removing the What's New section at the bottom of the main catalog page...worked great

  4. #4
    Member
    Join Date
    Nov 2005
    Location
    Central Texas
    Posts
    38
    Rep Power
    0


    Default RE: Changing Header Name

    The easy way is to just change your english.php file. Look for includes/languages/english.php and change define('HEADER_TITLE_TOP', 'Top');
    Just change Top to Home and your done. That is what I did and it worked for me. Hope this helps.

  5. #5
    Member
    Join Date
    Feb 2006
    Posts
    61
    Rep Power
    0


    Default RE: Changing Header Name

    Thanks for the help...it worked great...

    Thanks again!!

Similar Threads

  1. remove man from behind the desk
    By flexx in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 05-16-2005, 11:23 PM
  2. How to remove....
    By Christy in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 09-02-2004, 12:54 PM
  3. Remove BTS from MS2-MAX???
    By cxm322 in forum osCMax v1.7 General Mods Discussion
    Replies: 21
    Last Post: 05-05-2004, 02:24 PM
  4. how to remove
    By demo in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 08-19-2003, 07:59 AM
  5. Languages, what is the best way to remove and add new module
    By j_watkinsau in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-20-2003, 07:03 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
  •