Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Text greeting, text main: Placement switch


Rashunda

Recommended Posts

Greetings,

 

I would like to switch the placement of my text greeting (defined in english.php) and my text main (defined in index.php). I've searched through login.php but couldn't find where to make the switch.

 

My site is here. I would like for the text to read as follows:

 

Welcome to Scrappin' Stuff

We bring America's best scrapbooking supplies to Switzerland

 

Welcome guest.....

 

I just can't figure this out.

 

Any and all suggestions will be greatly appreciated.

 

Best regards,

Rashunda

Link to comment
Share on other sites

In catalog/index.php you'll need to change the following

 

from

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="main" allign="left"><?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"><center><?php echo TEXT_MAIN; ?></center></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>

 

to...

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         </tr>
         <tr>
           <td class="main"><center><?php echo TEXT_MAIN; ?></center></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
<tr>
           <td class="main" allign="left"><?php echo tep_customer_greeting(); ?></td>
         </tr>          
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>

Link to comment
Share on other sites

In catalog/index.php you'll need to change the following

 

from

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
? ? ? ? ?<tr>
? ? ? ? ? ?<td class="main" allign="left"><?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"><center><?php echo TEXT_MAIN; ?></center></td>
? ? ? ? ?</tr>
? ? ? ? ?<tr>
? ? ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
? ? ? ? ?</tr>

 

to...

 

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
? ? ? ? ?</tr>
? ? ? ? ?<tr>
? ? ? ? ? ?<td class="main"><center><?php echo TEXT_MAIN; ?></center></td>
? ? ? ? ?</tr>
? ? ? ? ?<tr>
? ? ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
<tr>
? ? ? ? ? ?<td class="main" allign="left"><?php echo tep_customer_greeting(); ?></td>
? ? ? ? ?</tr> ? ? ? ? ?
? ? ? ? ?<tr>
? ? ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
? ? ? ? ?</tr>

 

 

Feeling ever so stupid. Please, Please Please excuse my complete and utter ignorance here, but I am totally new to php....I'd like to do the same as above (with different text of course). I understand copying and pasting this code in, but where exactly does one type in the actual customized text??? Is it a place somewhere INSIDE this code? Someone please spell it out for me (and I notice MANY other newbies are having this same problem & no one seems to reply!)

 

Please help! Thanks

Link to comment
Share on other sites

The text for the customer greetings is found in includes/languages/english.php.

 

The text on the homepage is found in includes/languages/english/index.php

 

Before editing files read the 'Parse Error?' link below my name.

 

Vger

Link to comment
Share on other sites

The text for the customer greetings is found in includes/languages/english.php.

 

The text on the homepage is found in includes/languages/english/index.php

 

Before editing files read the 'Parse Error?' link below my name.

 

Vger

 

Thanks SO much! Will try later this aft & hopefully all will go smooth. :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...