Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index.php Layout Changes


Guest

Recommended Posts

I want to completely take out this...

 

Let's see what we have here...

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

 

 

If a user wants to log in or create an account it seems that they can click on the "my account" link to do so anyway.

 

Also I would like to put my "new products" for January on top of my 'TEXT_MAIN' verbage. How do I flip these two things?

 

Thanks,

Mike

Link to comment
Share on other sites

I want to completely take out this...

 

Let's see what we have here...

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

If a user wants to log in or create an account it seems that they can click on the "my account" link to do so anyway. 

 

Also I would like to put my "new products" for January on top of my 'TEXT_MAIN' verbage.  How do I flip these two things?

 

Thanks,

Mike

 

 

the whats new here is in your language files, change it there.

 

the logon text is in index.php:

 

<tr>

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

</tr>

Treasurer MFC

Link to comment
Share on other sites

For the second part find

 

 

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

 

 

And change to

 

 

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

<tr>

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

</tr>

<tr>

<td class="main"><?php echo TEXT_MAIN; ?></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...