RelentlessSkateshop Posted September 5, 2006 Posted September 5, 2006 When we modify our index.php page in the languages directory, there are many similarities that the php uses compared to html code. Table structures, for example. But the index.php page in the default oscommerce vanilla install gives a complex code to show basic gif's. Here is an example: <td>' . tep_image(DIR_WS_IMAGES . 'default/logo_ccVisa.gif') . '</td> I'm using this to show my credit card logos. But I filled in a table I made with ordinary img html code and it worked fine. Can someone please explain why the example given on the oscommerce index.php page is different? Cross compatibilty with different browsers, perhaps? Thanks in advance, Jeff If you say you can't do it, you're only fooling yourself.
jpweber Posted September 5, 2006 Posted September 5, 2006 You're fine, Jeff; use all the html you want on the includes/languages/english/index.php page where OSC has all the default text. Use tables, etc., and things that are compatible with all browsers. Nothing wrong with that. I've got tables in my index, and a flash menu there, also. If you're really not into PHP, and really want to take the PHP coding out of everything, and just use your own html, you might want to download and install the Simple Template System -- right here: http://www.oscommerce.com/community/contributions,1524/ Good luck! Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.