Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New or old index?


Guest

Recommended Posts

Hi. I am setting up the HTML WYSIWYG (MULTI-LINGUAL) EDITOR FOR PRODUCT DESCRIPTIONS *

v1.6.6 Beta (Internet Explorer 5.5) for OsCommerce MS1 2.2

All went well until,

 

STEP 1.5 --> OPEN: catalog/default.php (or index.php)

================================================================================

=====

Look for this around line 32:

================================================================================

=====

 

<tr>

<td class="main"><br><?php echo TEXT_MAIN; ?></td>

</tr>

 

================================================================================

====

And replace that line with this:

================================================================================

====

 

<tr>

<td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td>

</tr>

 

The problem is that this line does not exist in my index. Is there another line that may be on a earlier or later index to alter instead?

Link to comment
Share on other sites

Hi. I am setting up the HTML WYSIWYG (MULTI-LINGUAL) EDITOR FOR PRODUCT DESCRIPTIONS *

v1.6.6 Beta (Internet Explorer 5.5) for OsCommerce MS1 2.2

All went well until,

 

STEP 1.5 --> OPEN: catalog/default.php (or index.php)

================================================================================

=====

Look for this around line 32:

================================================================================

=====

 

<tr>

<td class="main"><br><?php echo TEXT_MAIN; ?></td>

</tr>

 

==========================================

 

Maybe check catalog/includes/english.php instead or catalog/includes/english/index.php

Link to comment
Share on other sites

It is in the index.php file in your root or catalog folder. Look for the following starting at or about line 300

 

 

<tr>

<td class="main"><?php echo tep_customer_greeting(); ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td class="main"><?php echo TEXT_MAIN; ?></td>

</tr> <tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

</tr>

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...