I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some poking around and get back to you if I find an good answer. You should email the people at iContact as they probably could assist you..
Sorry but where does it go. What php and where in that php...
I have got the image I want onto the homepage by using the original code I posted and by adding it to the end of the text. However I now have to find out how to move the position of it. Its now up against the lefthand boxes I want it on the right..
Thanks again.
Regards Mel..
Hi. If anyone is interested, this is the code I used to place an image onto the home page..
<br><table border="0" width="100%" cellspacing="5" cellpadding="2" ><tr><td class="main" valign="top"align="center">'tep_image(DIR_WS_IMAGES'xxxxxxx.gif')'</td>');.
I just tacked it on to end of the text in language/index php The align= can be left, right or center..
Regards Mel.
This post has been edited by.
Theherbman.
: 15 February 2010, 16:06..
I have posted the code above, simply add to index.php file and you will get the different images for different languages:.
For English language you need to upload the image to /images/english/your_image_name.jpg.
For French language you need to upload the image to /images/french/your_image_name.jpg.
For German language you need to upload the image to /images/german/your_image_name.jpg.
Learn the oscommerce, the books are exists and don't need to vote on reputation as negative as I don't owe you anything!!!!!! My opinion about that: negative ignorants who don't like to read about oscommerce (open Google and you will find millions websites with different topics about oscommerce) and want to have ready solution or code for nothing!..
Example:.
Open index.php file..
Find:.
<tr>.
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.
<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>.
Change to:.
<tr>.
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.
<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><img src="images/<?php print $language;?>/banner.gif" border="0"></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>..
Thanks for the reply I wanted to put an image after the "main text" had started on the home page. The code you posted puts it right at the beginning of the page or can you just put it where you like? The way I have done it means I can put an image after any word in the main text. Sorry if I didn't make myself clear..
Thanks again.
Regards Mel..

