mariusmac Posted June 29, 2007 Posted June 29, 2007 Hi ppl I want to add a nice image on the first page. I want it to be on the center of the page right above 'What's new here?' It will be like a poster. I want that only on the first page. How can I do that? Thank you very much guys
madcrazygirl Posted July 2, 2007 Posted July 2, 2007 Replace the welcome text on the language file with an image?
dynamoeffects Posted July 2, 2007 Posted July 2, 2007 In index.php, you could also replace this block of code: <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> With your image like this: <tr> <td><img src="yourimage.jpg"></td> </tr> Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.
mariusmac Posted July 2, 2007 Author Posted July 2, 2007 Yes, yes, yes!!! The only problem is that the picture falls between the 'What's new here?' text and the new products. I want the picture to be above 'What's new here?' text. I will try to fix it myself. If you have time to reply with a fix please do so because I'm pretty new to php :) Thank you very much Brian.
mariusmac Posted July 2, 2007 Author Posted July 2, 2007 Here is a link to what I have : http://shop.aeropower.ro/index.php?language=en
dynamoeffects Posted July 2, 2007 Posted July 2, 2007 Ah, I misread the original message. In that case, undo what you did above then find these lines: <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 . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> and add right above those lines: <tr> <td><img src="yourimage.jpg"></td> </tr> Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.
mariusmac Posted July 2, 2007 Author Posted July 2, 2007 Works great now! Thank you very much Brian. I really apreciate your help. Thank you again.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.