osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Edit middle of index.php??

This is a discussion on Edit middle of index.php?? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello all, I have a group of questions ... simple as they may seem. I'd love to edit the middle ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-25-2003, 12:22 PM
Anonymous
Guest
 
Posts: n/a
Default Edit middle of index.php??

Hello all, I have a group of questions ... simple as they may seem. I'd love to edit the middle part of the index page, but for some reason my brain isn't functioning today and I can't find the correct places to do the following things:

1) Completely remove the HEADING_TITLE (What's new here?) Actually I wouldn't mind removing the HEADING_TITLE from every page.
2) Completely remove the line: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?
3) Edit the file(s) for the SPECIALS BOX so that I can remove the strike-through price (so that just the red price remains) and change the heading from "Specials For September" to "Featured Products." (I was able to remove the strike-through price in the right column Specials Box, but not the middle column.)
4) Completely remove the New Products for September box from under the Specials Box.

I know that this is probably very simple, but so far I can't find the correct files.

Thanks in advance!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 09-25-2003, 05:22 PM
Anonymous
Guest
 
Posts: n/a
Default

Most of that you can do in catalog/includes/languages/english/index.php
The New products box is removed by going to catalog/templates/content/index_default.tpl.php and look for this line
<tr>
<td><br><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

and change it to look like this

<tr>
<td><br><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-29-2003, 09:15 AM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
Default

Hey all ... I am still looking for specific information on how to change these things ...

Quote:
1) Completely remove the HEADING_TITLE (What's new here?) Actually I wouldn't mind removing the HEADING_TITLE from every page.
When I comment out the PHP line in the English file ... this appears at the top of the main screen:

Quote:
HEADING_TITLE
... and ...

Quote:
2) Completely remove the line: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?
... and the file that controls the Specials Box that appears in the middle of the index page ... NOT the Specials Box in the right column ...

Quote:
3) Edit the file(s) for the SPECIALS BOX so that I can remove the strike-through price (so that just the red price remains) and change the heading from "Specials For September" to "Featured Products." (I was able to remove the strike-through price in the right column Specials Box, but not the middle column.)
Please be as specific as possible with your descriptions when responding. Thanks in advance.

-Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-29-2003, 11:45 AM
DMG DMG is offline
New Member
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DMG
Default

1) Edit catalog/templates/content/" index_default.tpl.php, index_nested.tpl.php, index_products.tpl.php," files. Look for this part of the file and comment out "echo HEADING-TITLE;" and to remove the image comment out "echo tep_image(DIR_WS_IMAGES . . . . "

The index_products_tpl.php is a little different but you will be able to figure it out.


Code:
         <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
                        <td class="pageHeading">
             <?php 
               if ( (ALLOW_CATEGORY_DESCRIPTIONS == 'true') && (tep_not_null($category['categories_heading_title'])) ) {
                 echo $category['categories_heading_title'];
               } else {
               //  echo HEADING_TITLE;
               }
             ?>
            </td>
            <td class="pageHeading" align="right">
            <?php // echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>
            
            </td>
          </tr>
              </table></td>
2) In the same files find . .
Code:
           <td class="main"><?php  echo tep_customer_greeting(); ?></td>
and chsnge to
Code:
           <td class="main"><?php // echo tep_customer_greeting(); ?></td>
3) Edit this in file /catalog/includes/modules/default_specials.php

Disclaimer
Quote:
MAKE A BACKUP OF THES FILES FIRST. I am by no means an expert at oscommerce.
Good luck!
Mark
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
Changing index.php alechhe osCMax v2 Customization/Mods 2 11-07-2006 06:50 AM
Box in the Middle: Categories carab osCommerce 2.2 Modification Help 4 11-16-2004 07:45 AM
how to move index.php rnomis osCMax v1.7 Discussion 5 02-21-2004 04:19 PM
Changing Index wudsqrl osCommerce 2.2 Modification Help 1 01-26-2004 06:47 AM
linking to index.htm Christy osCMax v1.7 Discussion 3 11-21-2003 05:06 PM


All times are GMT -8. The time now is 05:20 PM.


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