Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Taking out whats new here and image.


meep

Recommended Posts

Posted

Hi,

Ive been searching around and have not found an answer.

in the greeting text, I managed to put an image on the main page.

 

however, I would like to be on top of the main page, but I cant do it coz of the "whats new here" and the counter dude image is in my way.

 

from looking around the forums i found this peice of code to be the table that holds those two

 

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">

     <tr>

       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">

         <tr>

           <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

         </tr>

       </table></td>

     </tr>

     <tr>

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

     </tr>

 

i tried to comment it out, even deleting it....

Its still there...

 

unless im wrong and that the comment tag isn't <!-- --> please shed some light.

thanks in advance

Posted

Try This:

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> 

     <tr> 

       <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> 

         <tr> 

           <td class="pageHeading"></td> 

           <td class="pageHeading" align="right"></td> 

         </tr> 

       </table></td> 

     </tr> 

     <tr> 

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

     </tr>

Posted

Thanks for the reply,

but yea, no matter what I do, it doesn't seem to make a difference,

I commented it out, deleting the whole thing, and tried ur way, it just stays there..

 

just for the record, the file that im trying to change is /catalog/default.php

 

if this isn't the file, plz tell me so...

if it is, I don't know why its not changing.....

 

anymore help will be appreciated.

Posted

From memory this has to be changed in a couple of locations in default.php

 

Do a search for this code in default.php

<?php echo HEADING_TITLE; ?>

 

You'll find it two or three times.

Posted

All right! cralyn u r da champ! I did it.

Thanks alot.

PHEW I thought i would be stuck there forever.

 

Oh and Visceral, im not sure that the image I was talking about earlier is the same ur after.

 

anyhow

in languages/english.php

find

 

define('TEXT_GREETING_PERSONAL', 'wOOt ur BACK');

define('TEXT_GREETING_PERSONAL_RELOGON', 'And Then?');

define('TEXT_GREETING_GUEST', '<img src="http://www.image.here" />');

 

and put ur images in.......if its done ull have an image, like a poster in fron of ur page instead of the test...

 

thats why i needed to get rid of the "whats new here" and the counter dude, so my image will be on the top of the main page..

 

anyhow, thanks again...

Posted

Actually, I think that's exactly what I needed, and I would have had the same problem once I got the image in. May thanks to you both.

Posted

I've gotten the image in and it works. Many thanks. What I'd like to do is have the image up top and then the "Greetings <string>" text below it. I cannot manage to get both to work. Any suggestions?

Archived

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

×
×
  • Create New...