Jaime Posted October 11, 2005 Share Posted October 11, 2005 Hi!! I need help to cheangr the heder logo, I know how to change it to another image, but I need to change it whit a Flash Movie (a .swf file). I whant to know if it is possible or not. Thanks Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2005 Share Posted October 18, 2005 Hi!! I need help to cheangr the heder logo, I know how to change it to another image, but I need to change it whit a Flash Movie (a .swf file). I whant to know if it is possible or not. Thanks The osCommerce documentation states: Change the osCommerce Logo Using your favorite FTP client, upload your logo to the /catalog/images/ directory of your store. Download the file catalog/includes/header.php and open it in a text editor. Find this code: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Most of this you want to leave exactly as it is. Replace oscommerce.gif with the name of your file. Make sure you leave in the single quotes (') as they are very important. If you want, you can change the alt text of your image. This is the text that appears for those who use a text-based browser or a screen reader (such as blind people) to browse the web. The alt text is currently 'osCommerce' ? you can change that to whatever you want. Again, the single quote characters are very important. As an example, let's say my logo is called logo.jpg and my store is called ?My Store.? I would rewrite the code to look like this: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', 'My Store') . '</a>'; ?></td> Save this file and upload it back to your server. Reload the page in a web browser and your logo will appear! If you want to add a flash logo, you might be barking up the wrong tree. You could tyr and add the approriate code in there but I don't like your chances. Link to comment Share on other sites More sharing options...
snifer Posted November 2, 2006 Share Posted November 2, 2006 U should insert something like it: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '"><object>flash</object></a>'; ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.