meep Posted May 14, 2003 Posted May 14, 2003 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
Guest Posted May 15, 2003 Posted May 15, 2003 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>
meep Posted May 15, 2003 Author Posted May 15, 2003 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.
Guest Posted May 15, 2003 Posted May 15, 2003 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.
Visceral Posted May 15, 2003 Posted May 15, 2003 Meep, can you post your code you used to insert the original image? I can't even get that far.
meep Posted May 15, 2003 Author Posted May 15, 2003 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...
Visceral Posted May 15, 2003 Posted May 15, 2003 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.
Visceral Posted May 16, 2003 Posted May 16, 2003 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?
Visceral Posted May 17, 2003 Posted May 17, 2003 Nevermind, I should be shot for asking such a question . Fixed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.