vablonde25 Posted April 5, 2008 Posted April 5, 2008 Hi there, I'd like to add a static image to the front page in place of the What's new for the month, anyone know the tags I need to enter to accomplish this? THANK YOU! WM
tapuahk Posted April 5, 2008 Posted April 5, 2008 Hi there, I'd like to add a static image to the front page in place of the What's new for the month, anyone know the tags I need to enter to accomplish this? THANK YOU! WM In catalog/index.php find: <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> replace with: <td><?php tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> upload your image to your catalog/images folder. ~~~Tapuahk
vablonde25 Posted April 7, 2008 Author Posted April 7, 2008 In catalog/index.php find: <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> replace with: <td><?php tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> upload your image to your catalog/images folder. ~~~Tapuahk Thank you I put in what you said and it's not showing the image, any other ideas? Got rid of the "What's New for April" though which is good. :)
Guest Posted April 7, 2008 Posted April 7, 2008 <td><?php tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> Should be <td><?php echo tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td>
warrenerjm Posted April 7, 2008 Posted April 7, 2008 Should be <td><?php echo tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> Hi I don't want to get rid of the products_new box but would like a static like this. Only I would like it to change with each refresh or every so many seconds? Is this difficult? I don't know the technical term to search. :blush: Thanks Julie
vablonde25 Posted April 8, 2008 Author Posted April 8, 2008 Should be <td><?php echo tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> Thank you Brian!! Now for the coding challenged, can I completely remove the default text "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" Is it located on that same index.php page or do I need to go back to one of the other configuration pages. :rolleyes:
Guest Posted April 8, 2008 Posted April 8, 2008 Hi I don't want to get rid of the products_new box but would like a static like this. Only I would like it to change with each refresh or every so many seconds? Is this difficult? I don't know the technical term to search. :blush: Thanks Julie You could use javascript of flash. Or probably do something like the whats new box in the left column. Thank you Brian!! Now for the coding challenged, can I completely remove the default text "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" Is it located on that same index.php page or do I need to go back to one of the other configuration pages. :rolleyes: That is part of the tep_customer_greeting function. To remove it find in catalog/index.php around line 300 <td class="main"><?php echo tep_customer_greeting(); ?></td> Change to <td class="main"><?php //echo tep_customer_greeting(); ?></td>
wayne miller Posted September 4, 2011 Posted September 4, 2011 In catalog/index.php find: <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> replace with: <td><?php tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> upload your image to your catalog/images folder. ~~~Tapuahk Should be <td><?php echo tep_image(DIR_WS_IMAGES . 'yourstaticimage.gif','your alt text'); ?></td> I done what you guys have suggested but its not working The image isnt displayed and the whats new for September is still there???? I have OS 2.3
♥14steve14 Posted September 5, 2011 Posted September 5, 2011 Have yiou changed 'yourstaticimage.gif' to the name of your image and altered the file extension to the same as your image. REMEMBER BACKUP, BACKUP AND BACKUP
Tidbeck Posted September 6, 2011 Posted September 6, 2011 Hi, Just starting a store and I've also tried the above code to ad a image to the front page without success. Renamed the image and made sure the same name appeared. www.myownart.com.au any ideas what else to try?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.