nonoimperio Posted May 16, 2007 Share Posted May 16, 2007 Hey all, This is my first Post and I've just recently started using OScommerce. I had a friend install the program and since then I'm trying to work things.. U can check my site at www.nonoimperio.com, it's a comic shop! Right now i want to add a image to my main page, similar to whats been done here in www.kingpin-of-comics.net, wich is also a comics shop page... How can i do it and can i add *.swf files to it instead of images? Thanx, Nono Link to comment Share on other sites More sharing options...
Guest Posted May 16, 2007 Share Posted May 16, 2007 Use the php include function to include the swf file. Or, you an include, for example index.txt, create a file named index.txt and insert everything you want between <html></html> tags. Link to comment Share on other sites More sharing options...
captfc Posted May 17, 2007 Share Posted May 17, 2007 To add to the previous post... 1. Go into your index.php file in the catalog, find where it says <?php echo TEXT_MAIN; ?> and replace it with an include <?php include('layout.php'); ?> that points to a page that has been laid out. The layout file should be saved to the catalog file. 2. Go to includes > languages > english > index.php You can then insert any embedded code define('TEXT_MAIN', 'Front page text and embedded code here?>'); Link to comment Share on other sites More sharing options...
nonoimperio Posted May 17, 2007 Author Share Posted May 17, 2007 Thanks guys... Ill try to do it right now, but i've never worked with PHP and my knowledge of ^HTML sucks ... Thanks a lot tough! -- Stuccio Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.